Max spends three times as long on his math homework than he does on his science homework. If he spent total of 64 minutes on math and science homework last night how long did i he spend on homework?