Since ∠PQR is a straight angle, its measure is 180°. Thus, the angles with measures 130° and x° add to 180°, or 130+x=180 and so x=180−130=50.
Want a route through all this instead of an archive? The track
puts 2,444 problems in a working order, from Junior Challenge level to the IMO shortlist.