Answer :

area =  (h/2)(a +b)

where h = distance between the 2 parallel line segments  and a and b are the lengths of these 2 line segments.