So we know that total length of the wire is 80cm, hence the perimeter of the square and rectangle would =80cm
80=Perimeter of Square+Perimeter of Rectangle
Perimeter of Square= 4x (Because all four sides are equal)
Perimeter of Rectangle=4y+4y+y+y
=10y (We have 2 sides which are four times as long, and the remaining 2 "y" long)
Chuck this in: 80=4x+10y
As for b, create equations that show the area of each shape (ie: x^2 for the square). You will find there will be 2 variables, one with x and one with y. In order to remove the y, we just use the equation we found in the first step (a) by rearranging it: y=(80-4x)/10, and substituting it into the equation.
For ii), use calculus or a calculator to find the minimum of the function in a realistic domain (you cant have negative area). Once you've found x, find the perimeter of EACH OF THE SHAPES
Hope this helps.