Answer:

Explanation:
Let A1 be the area of one square and A2 be the area of second square
So,
A1 = s^2
where s is side of square

So side of one square is

To calculate the length of fence we need to find the perimeter of the square
So,
P1 = 4 * s

For second square:

The perimeter will be:

So the total fence will be: P1+P2
