How to send numbers from one Arduino to another using Serial

but doesn't work as expected:

How does it work? How do you expect it to work? How are those different?