Andy has an hour to study for French exam. It takes him five minutes to write a practice essay and six minutes to review the vocabulary from a lesson. And he wants to write X essays and review the vocabulary in Y lessons.