In a mathematical puzzle, we are given a series of integer operations to evaluate.
If we start with an integer $$x$$, and perform the following operations: first, multiply $$x$$ by -4, then add 10 to the product. After completing these operations, the result is stated to be 18. What is the original integer $$x$$?