Example 2 Posted on April 18, 2020 by user Given f:x↦1−x and g:x↦px2+q. If the composite function gf is defined by gf:x↦3x2−6x+5, find the value of p and of q, the value of g2(−1).