Sprague Energy interview question

If I had math skills