The two angles are a same sides interior pair which means that they are supplements.
So...
x+7+3n-47 = 180
4n = 220
n = 55°