It takes Lucy 20 minutes to bike to the pool and 3 minutes per lap to swim in the pool. It takes Dan 30 minutes to jog to the pool and 2 minutes per lap to swim in the pool. How many laps must Lucy swim in order for her to spend more minutes exercising as Dan?

20+3x > 30+2x

assuming they swim the same number of laps, and riding a bike counts as exercising ...