Hi Ellie,
I'm pretty sure you haven't given all the information for question 2. What triangle?
For question 1 you use the perp distance formula (Am+Bn+C/(A^2+B^2)^0.5) (sorry it looks messy in text form)
m = x and n = y (given by the point p (x,y))
Now, since the distance between the...