A cyclist rode the first 24-mile portion of his workout at a constant speed. For the 15-mile cooldown portion, he reduced his speed by 3 miles per hour. Each portion of the workout took the same time. Find the cyclist's speed during the first portion and find his speed during the cooldown portion.