What is the formula for the area of a triangle and trapezoid?

Triangle: (*is times)

A = 1/2*base*hight

Trapezoid:
A = 1/2*height*(base1+base2)