Need a way to communicate between two Arduino (nano and mega) over around 10 m

All you need is here:
https://forum.arduino.cc/t/serial-input-basics-updated/382007