In-class work: Quadrature Rule with an Arbitrary Polynomial Basis