It is required that you find the unit price in cents per diaper.
To do this, convert the prices in dollars to cents by multiplying by 100.
Next, divide the respective prices in cents by the corresponding number of diapers:
For brand A:
For brand B:
Next, notice that Brand B has a lower unit price. Hence, it is the better buy.
Brand B is the better buy,