I have no idea :|

1a) Express $\displaystyle x[squared]-12x+40 $ In the form $\displaystyle (x-p)[squared] + q $

1b) Hence or otherwise find the least value of $\displaystyle x[squared] -12x+40$

in addition can somebody tell me how to get power signs in the above box please?

Thanks in advance ;-)