First off Remember the word "SohCahToa".
You the use the "Toa" part because you have been given the opposite side and the adjacent side.
Then to work out the angle you do:
tan-1(opposite/adjacent)
which makes:
tan-1(27/31)
You then this into your calculator to get:
41.05°