A more intuitive approach is just doing the equation.
Y is the % you win
(1-Y) is the % you loose
And to see what Y needs to be for you to win $0:
Yx25 - (1-Y)x10 = 0
Then you just solve that and there you go.
But if you're not all-in then this is not what you're looking for. blah blah implied odds blah blah reverse implied blah blah