The triangles are similar by the AA postulate, since one of the angles is a right angle and other is vertically opposite they are equal, so the other angle should be equal too.
Since the triangles are similar the ratio
should hold for every side, then:
Solving for x we have:
Therefore, x=48.