After giving $5, Lucy has $20 - $5 = $<<20-5=15>>15 left.
Since Linda has $15 after receiving $5, then she had $15 - $5 = $<<15-5=10>>10 at the beginning.
#### 10