Easy peasy one. Boats are on different tacks.
Question 1: Which boat has right of way?
Question 2: What action should be taken by the boat that doesn’t have right of way?
Answer 1: Boat A has right of way as it is on Starboard Tack
Answer 2: Boat B has two options.
Option (a) Tack, making sure that boat A does not have to change course
Option (b) Change course and pass astern of A