Find Linear nth Term From Pattern