Start by expanding the bracket: 15x - 9x - 12 = 6. Combine the x terms to get 6x - 12 = 6, add 12 to both sides for 6x = 18, then divide by 6.
So x = 3. Substituting it back gives 45 - 3(13) = 45 - 39 = 6, which checks out.