A speeding driver was on the wrong side of the road when he collided with a taxi, killing the rear-seat passenger, a court has heard.