Speed prediction in segments of two-lane highways