The sum of the inside angles of a 5 sides figure needs to equal 540 degrees.
The little square in the top left coner means that is a right angle which equals 90 degrees.
The total of the angles given is: 90 + 107 + 144 + 138 = 479
X = 540 - 479
X = 61 degrees.