Numerical methods - Quadrature formula?

Can somebody show me how to do this...thx

Use the method of undetermined coefficients to determine the values w0, w1, x0 and x1 which ensure that the quadrature formula Q[f] = w0f(x0) + w1f(x1) has degree of precision equal to three for integrals of the form

1

∫ f(x)dx

-1