MKRZERO D2 and D3 attachinterrupts

Do you have any idea on how to do that?

That is where I'm stuck