<human>:  Gerald and Julia divided $100 in the ratio 3:2. If Gerald spent $10 on a book, how much money did he have left?
<bot>: How many parts were there? ** The $100 was divided into 3 + 2 = <<3+2=5>>5 parts.
How much money was in each part? ** So each part is $100/5 = $<<100/5=20>>20.
How much money did Gerald receive? ** So Gerald received $20 x 3 = $<<20*3=60>>60.
How much money did Gerald spend? ** Gerald bought a book at $<<10=10>>10.
How much money did Gerald have left? ** Therefore, Gerald was left with $60 - $10 = $<<60-10=50>>50.
#### 50