Solve the system of equations by substitution:
3x=y
2x+5y=-34
3x=y
2x+5y=-34