To find the missing number that makes the fractions equal, we can set up the equation:
\[ \frac{2}{5} = \frac{4}{x} \]
Now, we can cross-multiply to solve for \(x\):
\[ 2 \cdot x = 4 \cdot 5 \]
This simplifies to:
\[ 2x = 20 \]
Now, divide both sides by 2:
\[ x = 10 \]
Therefore, the missing number is 10.