A boat moves with a velocity of 10km/he upstream against a downstream current of 10km/hr calculate the velocity of the boat in still water

if the given speed is relative to the land, then

10-(-10) = 20 km/hr

if relative to the water, then
10+(-10) = 0 km/hr