Selling in piece and carton - discount for carton

Hello,

i have an item with UOM piece and carton.

1 carton have 24 piece
selling 1 piece for $1
but selling carton of same product for $20 (not $24)
UOM rate is 1/24 but price rate not same.

the question is how configure this?

Thank you