This first attempt looks a bit messy and bleak if you download and try to look at the complete expression of the solution