Answer:
[tex]q^2-2q+1[/tex]
Step-by-step explanation:
[tex](q-1)^2=(q-1)(q-1)[/tex]
Distribute: [tex]q^2-q-q+1[/tex]
Solve: [tex]q^2-2q+1[/tex]
Hope this helped! Have a great day/night! :)