Here's a nice little video on how to figure this out.