How to combine program?? can someone help me with it

i using arduino mega