Petya and Vasya ride bicycles at constant speeds around a circle. Petya's speed is 8 km/h, and Vasya's speed is 10 km/h. Initially, they rode in opposite directions (Petya clockwise and Vasya counterclockwise), and then Petya changed his direction (started moving counterclockwise) and simultaneously doubled his speed. After this, the cyclists met times less frequently. Find .