So, is the answer i posted correct?
You can check this yourself. There are two requirements that the solution must full fill, it must satisfy the differential equation tofether with the initial condition and be continuous at the knot (the point where the forcing function changes its' form).
You solution appears to meet these requirements.
CB