a.) Diagonal of square in terms of its edge "a":
Diagonal of square = [tex] \sqrt{a^{2} +a^{2} } [/tex]
= [tex] \sqrt{2a ^{2} } [/tex]
= [tex]a \sqrt{2} [/tex]
b.) Diagonal of rectangle in terms of its base "b" and height "h":
Diagonal of rectangle = [tex] \sqrt{b ^{2} +h ^{2} } [/tex]