In total, Rick is still owed 400 - 285 = $<<400-285=115>>115.
Derek owes half as much as Amy, so he owes $30 / 2 = $<<30/2=15>>15.
This means that Sally and Carl owe a combined total of $115 - $30 – $15 = $<<115-30-15=70>>70.
As they owe equal amounts, they therefore owe $70 / 2 = $<<70/2=35>>35 each.
#### 35