Can you draw a square ABCD with BC on the base PR of the triangle and the vertex D on the side PQ using ruler and compasses?
What happens to the point A as you enlarge the square? The interactivity may help. Move Q to specify your triangle, and then move D to enlarge the square.
How can you use this to help you draw the square you require?