hiiiiiiiiii magicklo ..
Here i am to answer ur question ..
I might not be able to answer ur question perfectly as i cannot draw diagrams but i will tell u the steps, you should simultaneously draw and see for urself .. things will become clearer for sure ...
So here we start ..
First of all I will like to point that since all sides are know so the triangle is completely known to us ..
So, all the angles are fixed and all sides are already given to us ..
okies .. now let us get to actual point ..
Now, see let the 5 side be called the BC and let the perpendicular frm the vertex A meet the BC in point D ..
we call the point D as the origin ..
Now the coordinates of the point P be (x,y)
Now clearly the perpendicular to side BC is of length y
So, p1 = y ..
Now the perpendicular to sides AB and AC are of length (d+x)cosecB and (d-x)cosecB respectively ...
where d is 5(4sinB-y)/8.sinB
Now u may be wondering from where did this d came from ..
Well at the point P draw a staright line parralel to the side BC.
This line meets side AB in H and AD in point K ... so now d is HK ..
How to find HK ?? well just use the concept of similar trianlges we know the lenght of AD = 4sinB and also of KD = y .. also BD = 5/2 ...
So I guess u can find HK easily using similar triangles ... okay
I hope u are getting wat i am saying ... draw a diagram if u have not drawn it ... things will become more clear then ...
Now once we have calculated HK .. p2 and p3 can be calculated easily using simple trignometry ..
and also using the fact that

AHK is

B only (since HK is parralel to BC)
So finally we have the value of all perpendiculars ..
so , p1.p2.p3 = (d+x)cosecB.(d-x)cosecB.y
= (d2 - x2)cosec2B.y
Now we know that d is a function of y and has nothing to do with x
Now substractin x2 from d2 will only reduce the value .. and so for maximum value x must be zero .. i hope this point is clear ..
so, x is zero .. thus now p1.p2.p3 = d2cosec2B.y
=(5(4sinB-y)/8.sinB)2cosec2B.y
= k.y.(y2 - 8.sinB.y + 16.sin2B)
where k is 25/64.cosec4B ( a constant )
To maximize p1.p2.p3 we need to maximize y.(y2 - 8.sinB.y + 16.sin2B)
Let us differntiate g = y.(y2 - 8.sinB.y + 16.sin2B) w.r.t y and put it to zero to find the maxima ..
dg/dy = 3y2 - 16.sinB.y + 16.sin2B = 0
so, y = 4.sinB , 4/3.sinB
Now , figure out that ... 4/3.sinB will give a non zero value for g = 256/27.sin3B..
okies ... so now value of p1.p2.p3 is 25/64.cosec4B.256/27.sin3B
= 100/27.cosecB
I hope this is clear ... bare with me if I had made some calculation mistake .. but the idea is simple ..
cheers