Hello Mahdi_88,
I found your motherboard manual on the web it is located at
looking on the specifications it does call your memory compatibility to be Dual-channel DDR3 memory architecture 4 x 240-pin DDR3 DIMM sockets support up to 32 GB Supports DDR3 1600/1333/1066 MHz DDR3 SDRAM on page
https://www.manualslib.com/manual/814401/Ecs-H77h2-M4.html?page=6#manual
looking further on page 12 of your user manual
https://www.manualslib.com/manual/814401/Ecs-H77h2-M4.html?page=16#manual
it is indicated the following; " The four DDR3 memory sockets (DDR3_1, DDR3_2, DDR3_3 and DDR3_4) are divided
into two channels and each channel has two memory sockets as following:
Channel A: DDR3_1, DDR3_2
Channel B: DDR3_3, DDR3_4"
In theory you could use the 2GB to increase your total memory to 6gb yes,
As long as you do not pair it with the 4gb into the same coloured memory slot on the motherboard.
Will your system be able to properly improve with the additional 2gb? if it remains stable , Sure
Will the system remain stable? history has proven that at least 75% of mismatched memory size and type leads to system instability.
Would I do it ? nope.