∠PMR and ∠PMS are angles in a linear pair.
∴ m∠PMR + m∠PMS = 180°
∴ x + m∠PMS = 180
∴ m∠PMS = (180-x)°
m∠QMR = m∠PMS = (180 – x)° … . (Vertically opposite angles)
m∠SMQ = m∠PMR = x° …. (Vertically opposite angles)
∴The measures of ∠PMS, ∠SMQ and ∠QMR are (180 – x)° , x° and (180 – x)° respectively.