In covering a distance of 30km.'A' takes 2 hours more than 'B'. If 'A' doubles his speed,he would take 1 hour less than 'B' . find their rates of walking.