Angles A and B are adjacent angles and are supplementary. The measure of ∠A is (3x+10)∘, and the measure of ∠B is (12x+35)∘.

Write an equation that can be used to determine the value of x.
Enter the correct answer in the box.