Consider the integer operation described as follows:
A number is multiplied by 3 and then decreased by 7. If the resulting value is 5, what was the original integer?
Let the original integer be represented by the variable $x$. The operation can be represented by the equation:
$$3x - 7 = 5$$