Picture Frame

Make a frame for a picture measuring A by B . The width of the frame sides to be equal and the ratio of its area to the picture area to be F to P .