To achieve the derivative relationship for a square, we expressed its area and perimeter through the variable a, where a was half the length of the square’s side, which also equals the height of each of the four triangles composing the square (see fig. 7).