Derek has 40-14-11-5 = <<40-14-11-5=10>>10 dollars left
Dave has 50-7 = <<50-7=43>>43 dollars left.
Dave has 43-10 = <<43-10=33>>33 more dollars left than Derek.
#### 33