Script for Buy 2 of the same product and get free shipping

Hi there, I would like to have some help if someone knows how can I create a script where if a consumer buys 2 of the same product it will get free shipping. It should be only applicable for 2 specific products from my current range.

Thanks in advance for your support.