All terms must have dimension of pressure [ML−1T−2].
For (h+Bt): Since ρgh has dimension of pressure, [h]=[L].
For dimensional consistency: [Bt]=[L], so [B]=[LT−1]=[M0LT−1]
For Bt2A: [B][T2][A]=[ML−1T−2]
[A]=[B][T2][ML−1T−2]=[LT−1][T2][ML−1T−2]=[ML0T−1]
[A]=[ML0T−1] and [B]=[M0LT−1]