When tag is applied do something to something

I looked into custom automations but didn’t seem to find anything related to these use cases.

Process 1:
If tag is added and equals “x” then create an item.

Process 2:
If tag is added to Item 1 and equals “x” then create Item 2 with a due date # number of days from Item 1’s due date.