Finding The Nth Term Of A Cubic Sequence