So we have a game in which 2 players, P1 and P2, are randomly given a number $x_1,x_2\in [0,1]$. Each player first antes \$1, are given their numbers, and then P1 can choose to bet any value $B$, or pass (in which case, who ever had the higher number wins the pot). If P1 bets, P2 can then either call the bet, or fold.
We are asked to find an optimal strategy for P1 and P2 (which is dependent on $B$). Any tips how to get started with this one?