Sum of the 5th and 9th term of an A P is 30. If its 25th term is three times its 8th term find A. P.