Example homework solution

Please no cat shooting =|