In the p4merge tool the layout for merging 2 files look like the following.
+---------------+--------------+
| | |
| | |
| | |
| a.txt | b.txt |
| | |
| | |
| | |
+---------------+--------------+
| Choose any change |
| from a.txt or b.txt and |
| finally overwrite a.txt |
| |
+------------------------------+
How to do this in emacs ?