This is done by dividing up the pool of money from the community bet in the amount of correct $1 bets. So if you have a $7 trifecta bet, it means you will get 7 shares from the winning bet pool.