Algebra-Some Current/Wind Problems

So these are really easy problems, but I haven't done them since the beginning of the year, so I could use some help.

1. A swimmer can swim 4 km with the current in 24 minutes. The same distance would take 40 minutes against the current. Find the speed of the swimmer and the rate of the current

2. A plane flies the first half of a 5600 km flight into the wind in 3.5 hours. The return trip, with the same wind, takes 2.5 hours. Find the speed of the wind and the speed of the plane in still air.