If the nth term of a sequence is given by the formula an=(n-1)(n+2), find the first 5 terms of the sequence