find the length of the diagonal of (a) a square in terms of its edges a,(b) a rectangle interms of its base b and its altitude h