Need help with wiring

  1. N present in the box (left one and right one) is just not connected to any switch.
  2. If I place relay to the left box:
  • Issue with Line out (line out is on second box only)
  1. If I place relay to the right box:
  • Issue with the line - line changing always

Looks like relay should be on the left box only, but in this case how to make lineout ;(

This is the right diagram I have implemented:
3way-switch-wiring-diagram-nm