She already spent $21 so you would need to subtract that from the total budget. The sign would be greater than or equal to since that's the max amount.
45-21 ≥ 34
34≥4x
Divide both sides by 4 to cancel it out. You would get 8.5 but since you can't buy half a notebook it would be 8.