To factor $ 49n^{3}-7n^{2}-7n+1 $ we can use factoring by grouping:
Group $ \color{blue}{ 49x^{3} }$ with $ \color{blue}{ -7x^{2} }$ and $ \color{red}{ -7x }$ with $ \color{red}{ 1 }$ then factor each group.
$$ \begin{aligned} 49n^{3}-7n^{2}-7n+1 = ( \color{blue}{ 49x^{3}-7x^{2} } ) + ( \color{red}{ -7x+1 }) &= \\ &= \color{blue}{ 7x^{2}( 7x-1 )} + \color{red}{ -1( 7x-1 ) } = \\ &= (7x^{2}-1)(7x-1) \end{aligned} $$