How would you write the sentences "You (formal) need to study for English class and "You (informal) need to study for English class" in Spanish?

The sentences "You (formal) need to study for English class" and "You (informal) need to study for English class" can be written in Spanish as:

Formal: "Usted necesita estudiar para la clase de inglés."
Informal: "Tú necesitas estudiar para la clase de inglés."