'The least square method'

Describe in one page or less, how would you use 'the least square method' to find the cube function that approximate the time series the best.