Let X = science homework.
Then math homework would be 3x ( three times as long).
Now you have math plus science = 64 minutes:
x + 3x = 64
Combine like terms:
4x = 64
Divide both sides by 4:
x = 64 / 4
x = 16
He spent 16 minutes on science and 48 minutes on math.