A wooden beam is (3y2 + 7y+1) meters long. If a piece of length (y2 - 10) meters is cut off, express the length of the
remaining piece of beam as a polynomial in y.