The base of a triangle is two times its height. If the area of the triangle is 36, then what is the height of the triangle?