A bank teller cashes a check for $1500 using a certain number of \$1 bills, ten times as many \$5 bills, a certain number of \$10 bills, and twice as many \$50 bills. How many of each did the teller use?

A = $1

B = $5

C = $10

D = $50

$1500 = A + 10B + C + D2

Not sure if correct.