Factoring Higher Degree Trinomials