A square and a triangle share the same base and the area of the triangle is three-quarters the area of the square. Find the height of the triangle given that the area of the square is 64cm^2.