As a basic application of right of way rules, since the aircraft on climbout had the other aircraft on its right, the aircraft in the cruise (preparing for landing) had the right of way.
Irrespective of left or right, a landing aircraft has the right of way (CASR 91.330)