In order to manipulate paths there are ‘Boolean Operations’ which allow this to happen. They are called Boolean operations as ‘Boolean’ is a result that can only have one of…