Find the first term 'a' and the common difference 'd'