You can compose a complex route on the Aviasales main page. To do this, click on "to compose a complex route" under the search. Such a route is necessary when the arrival and departure points on the way back do not coincide (for example, Moscow-Rome, then Milan-Moscow) or during flights between different cities on the same trip (for example, Moscow-Bangkok-Denpasar-Sydney).