The sum of first q terms of an A.P is 162 . The ratio of its 6th term of its 13th term is 1:2 . Find the first and the 15th term of the A.P .