Suppose four horses — $A, B, C$, and $D$ — are entered in a race and the odds on them, respectively, are $6$ to $1$, $5$ to $1$, $4$ to $1$, and $3$ to $1.$ If you bet $\$1$ on $A$, then you receive $\$6$ if $A$ wins, or you realize a net gain of $\$5$. You lose your dollar if $A$ loses. How should you bet your money to guarantee that you win $\$12$ no matter how the race comes out?
Source: Problem 10, page 293 Fisher and Ziebur "Integrated Algebra and Trigonometry" 1957, 1958 by Prentice-Hall, Inc., Sixth printing June, 1961.
I can't figure out how to make a comment because I don't have enough reputation - so I'm editing this question, but thank you cjferes for your help. I got my answer with much matrix manipulation. Your suggestion got me on the road to success! From what I can see you need to drop $\$228$ in bets to win back a guaranteed $\$12$. Very interesting!