Draw a line through Q parallel to the y-axis and add further to the diagram so that you have 2 right angled triangles. Then use trigonometry to get the other 2 sides in each triangle.
I know the coordinates of points E and Q, so I know their euclidean distance L.
I'm looking for the point W with coordinates (a,b) related to other known values.
Code:* * * W o-----o R * * * | * * * | * r* @| * *| * * o Q * * * | * * | * * | * L * | * * * | * * * * * * | * @ | E o-----------------o P
Note that: .
The x-coordinate of point is: .
The y-coordinate of point is: .