The sum of the first 9 terms of an AP is 81 and that of its first 20 terms is 400. Find the first term and common difference of the AP.