Here is the equation:

To find the missing number, you have to cross multiply. Here's the equation:

Multiply:

To leave the variable x alone, you need to divide both sides by 10

Divide:

Your answer is 40
If you have any questions, feel free to ask in the comments! :)