How do I calculate the amount of qualified education expenses?