Lloyds Banking Group Interview Question

I was asked to solve simple ODEs.