Switch 1 is closed for a long time so the current in the inductor builds up to its steady state value.

This inductor current (which is easily calculated) is then the initial value for the differential equation involving R2 and L1

For convenience I have assumed that S1 opens and S2 close at time equals zero.