Multiply and add like terms:

(3x+1)2\displaystyle {\left(-{3}{x}+{1}\right)}^{{2}}