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