give a simple but complete example

array 1 is array 2 is result array is
======== ======== ========
.............. .............. ..............
.............. .............. ..............
.............. .............. ..............