The remainder when 6p3 – p2 – 47p + 30 is divided by p -…