Calculate area of a shape

Num 1
num 2 if applicable