If the two sides with length 3 and 4 are the two legs, then the missing side, i.e. the hypotenuse, is indeed 5.
But it could also be the case that 4 is the hypotenuse and 3 is one of the legs. In this case, the missing side is the other leg, so we calculate it using

So, a right triangle with legs
and 3 has an hypotenuse of 4.
Answer:
(Look at image)
Step-by-step explanation:
(Also look at image)
When you arrange the N points in sequence around the polygon (clockwise or counterclockwise), the area is half the magnitude of the sum of the determinants of the points taken pairwise. The N determinants will also include the one involving the last point and the first one.
For example, consider the vertices of a triangle: (1,1), (2,3), (3,-1). Its area can be computed as
(1/2)*|(1*3-1*2) +(2*-1-3*3) +(3*1-(-1)*1)|
= (1/2)*|1 -11 +4| = 3