I feel like a moron. Why didn't they just show me this in math class?