linear polynom solution