I'll tell you how to do it for any polygon in the cartesian plane with the vertices listed in order.
First we have to list the vertices in order so each pair is a side:
(0,0) (6,0) (8,4) (2,4)
Now for each side (a,b)(c,d) we calculate the cross product ad-bc
(0,0)(6,0) 0(0)-0(6)=0
(6,0)(8,4) 6(4)-0(8)=24
(8,4)(2,4) 8(4)-4(2) = 24
(2,4)(0,0) 2(0)-4(0)=0
We add up the cross products, and take half the absolute value of the sum for the area:
Area = (1/2) | 0 + 24 + 24 + 0 | = 24
Answer: 24