helpppp PLEASE
Jerome takes a math course and a science course for summer school. For every 3 hours Jerome spends studying math, he studies science for 2 hours. If Jerome spent a total of 30 hours studying last week, then how long did he study math?

A.

17 hours

B.

18 hours

C.

9 hours

D.

36 hours