Expand product of linear and quadratic (#259)