finds the area of a square, triangle, or a rectangle