James was working on his school homework for 2 hours. He spent 1/3 of this time working on math, and 1/4 of the rest of the time doing reading. How many minutes did James do math?