You're missing a term in your variation of parameters formula. Given an nth order linear ODE
with independent solutions the variation of parameters formula is
.
With what you have you set where it should be . With this assignment things work out giving you the desired .