This is from memory, so anyone please feel free to correct me
The standard equation is (Pot + Bet)/Bet = odds
In this case "odds" = 2.
(Pot + Bet)/Bet = 2
Pot + Bet = 2 * Bet
Pot = 2 * Bet - Bet
Pot = Bet
Before the deal Pot = 1.5BB
If SB therefore bets 1.5 BB the pot will be 3BB and BB will be faced with 2:1 pot odds
If you wish to give higher odds, then
Just put different odds into the original equation.
(Pot + Bet)/Bet = 3
Pot + Bet = 3 * Bet
Pot = 3 * Bet - Bet
Pot = Bet * (3-1)
Pot = Bet * 2
Bet = Pot/2
In this case, if the pot is $4, and you want to offer him 3:1, bet 1/2 pot -- $2
The pot is now $6, and he must put in $2 to win $6, so he is getting 3:1
Oh, and I cheated a bit.
I checked out this strategy article to make sure I was doing it right...
https://www.pokerstrategy.com/strategy/various-poker/calculate-pot-size-raise/
It is not exactly the same, but got me on the right track (I hope)
Cheers,
VS