The sides of a right angled triangle are 5x, 4x and 3x units respectively. If the perimeter is 36 units, what is x?