X J, Q ($4) K, A ($5) lose (-$x)
P(X) MATH MATH $\dfrac{9}{13}$

MATH

Now the expected value should be $0 for the game to be fair.

So MATH and this gives x = 2.

So I would need to pay $2 for it to be a fair game.