The angle x is a vertical angle to the angle just adjacent to the 47 degree angle. So x+47 = 90
This leads to x = 90-47 = 43