Explanation:
angle HIJ=107°
angle IDJ=31°
now,
angle HIJ+angle JID=180°{ being straight angle}
107+angle JID=180°
angle JID=180°-107=73°
again,
angle JID+angleIDJ+angleDJI=180°{ sum of angle of triangle}
73°+31°+angleDJI=180°
angle DJI=180°-1104°=76°
hence,
angleAJF=angleDJI{ vertically opposite angle}
x=76°
hope it helps.