Given that M + 1 / M = 3, find the square of the sum of squares of M + 1 / M (m-1 / M)

Given that M + 1 / M = 3, find the square of the sum of squares of M + 1 / M (m-1 / M)

m+1/m=3
(m+1/m)^2=9
m^2+2+1/m^2=9
m^2+1/m^2=7
(m-1/m)^2=m^2-2+1/m^2=7-2=5