Let's call the distance that he paddles one way = D....note that the distances going and coming are the same ...so....
And Distance / Rate = time [ In hours]...so...
D / 3 + D / 2 = 2.5 simplify
D [ 2 + 3 ] / 6 = 2.5 multiply both sides by 6
D [ 5 ] = 15 divide both sides by 5
D = 3 km