Factor u⁴+7u²-8

honestly I'm just confused how to solve ;-; I see the answer is (u-1)(u-1)(u²+8) but I'm not sure how to show the work.