Pegasystems interview question

it has been explained in description section.