But my homework was never quite like this