How do i do this okay i have x=17-4y and y=x-2 i have to solve by using substitution i don't get it do i replace x-2 for x then solve please help me

x=17-4(x-2)

x=17-4x+8
x=25-4x
5x=25
x=5

im trying to figure this out can you help me. the question is you download 12 new songs to your MP3 player. Then you 5 old songs. and then it says i have to write the amount as an integer. can you please help me.

To solve the system of equations using substitution, you need to follow these steps:

Step 1: Solve one of the equations for one variable.
In this case, let's solve the second equation, y = x - 2, for x. Rearranging the equation, we get x = y + 2.

Step 2: Substitute the expression from Step 1 into the other equation.
Now, we substitute x = y + 2 into the first equation, which is x = 17 - 4y.

Replacing x with y + 2, we get (y + 2) = 17 - 4y.

Step 3: Solve the resulting equation for the remaining variable.
Expand the equation: y + 2 = 17 - 4y.
Combine like terms: y + 4y = 17 - 2.
Simplify: 5y = 15.
Divide both sides by 5: y = 3.

Step 4: Substitute the value found in Step 3 back into one of the original equations.
Substituting y = 3 into y = x - 2, we get 3 = x - 2.
Add 2 to both sides: x = 5.

So, the solution to the system of equations is x = 5 and y = 3.