Please put in $10 of unleaded regular.

Literal

Unleaded regular [object-を] 10 dollars worth put-in please.

Specifies an amount with 分 ('worth, portion') attached to a quantity — '10 dollars' worth.' Note that Japan uses yen, so ドル marks this as a translated or America-context sentence.