Goldie did pet-sitting for a total of 20 + 30 = <<20+30=50>>50 hours.
So, she earned a total of $5 x 50 = $<<5*50=250>>250.
#### 250