Two APs have the same first and last terms.The first AP has 21 terms with a common difference of 9.How many terms has the other AP if its common difference is 4

a+20(9) = a+(n-1)(4)

solve for n