PLEASE HURRY

The length of the base of an isosceles triangle is x. The length of a leg is 5x - 6. The perimeter of the triangle is 54. Find x.
X