Solve the following pairs of linear (simultaneous) equations using method of elimination by substitution:
6x=7y+7
7y−x=8
2x−3y=7
5x+y=9