Framing/roofing

What math do I need to know to get into this trade ?