The height of a triangle is 3 yards less than twice the base. The area of the triangle is 27 square yards. Find the base and height of the triangle.