how to find leading coefficient