Keissa, this one is slightly more difficult than the other.
We still have d = rt. Since the distances are the same, but the current either takes away from or adds to the rate of the boat...
30(r - 7) = 20(r + 7)
30r - 210 = 20r + 140
10r = 350
r = 35
The boat's speed in still water is 35 mph.