5+c/9=31

9-n/5=19

#1 subtract 5 from both sides, then multiply through by 9.

#2 similarly.