Use substitution to solve each of the following pairs of simultaneous equations for x and y in terms of m and n.
a) mx + y = n
y = mx

b) x + ny = m
y = nx

c) mx - y = n
y = nx

d) mx - ny = n
y = x

e) mx + y = m
x = y + m/n