$$\left. \begin{array} { l } { A = 7 x ( x ^ { 2 } + 3 x - 1 ) } \\ { B = \sqrt { 5 } ( 3 x - \sqrt { 5 } ) } \end{array} \right.$$