Determine the solution to the system of equations by using substitution.
Y=4x+10
Y=-5x-10