Price Match

Can you find pairs of differently sized windows that cost the same?

Problem

You might like to try Through the Window before this challenge.

Price Match printable sheet

In a particular shop, the price of windows is calculated according to the area of glass used and the length of frame needed.

In the picture below, glass costs  £10 for an area of one small square, plus £5 for every square edge of frame.

Image
Price Match

If we call the area of the glass A and the perimeter of the window P, how would you express the cost of the window in terms of A and P?

Use your formula to find pairs of rectangular windows that are different sizes but cost the same.