Because you are interested in a voltage across R2 in this case.
The current over both resistors is the same, and it was calculated by the first equation. Now the second equation uses that current to calculate a voltage across the R2.
And yes, you need to be more careful writing down the equations, since as written they make no sense. But I assume it was just a simplification.