Consider the equation represented as follows: $$3(x - 4) + 5 = 2(x + 1) + 7$$. Your task is to solve for the variable $$x$$. What is the value of $$x$$?