sam bought two books.one book cost 4.00$ more than three times other.together,thee two books cost him 72$

Fist book cost $X.

2nd book cost (3x+4) Dollars.

x + 3x+4 = 72.
X = ?