How do I get my calculation to work?