You can use cross-products to solve this problem. For instance, this expression would be written as 5(8)= 7(-x), or 40= -7x. What you'd do then is simplify the expression by dividing both sides of the equation by the coefficient of x, such that you'd isolate x and have the value of x.