x = 36
Explanation:
First find the difference of size for the two givens sides on figure A and figure B. On figure A we have the given side 45, and Figure B the given size 27. Subtract the two to get 18. So the difference of scale is 18 for the two figures. So in order to find x just add the 18 to the 18 in figure B, and you get 36.