Solve the following pairs of linear (simultaneous) equations using method of elimination by substitution:
2x+7y=39
3x+5y=31
2x−3y=7
5x+y=9
Solve the following pair of linear equations by the elimination method and the substitution method :
(i) x+y=5 and 2x−3y=4 (ii) 3x+4y=10 and 2x−2y=2(iii) 3x−5y−4=0 and 9x=2y+7(iv) x2+2y3=−1 and x−y3=3