Math!!!

Explain how you solved the Problem of the Day.