This question was asked in Example 3
the ratio of 7 to the 3rd term of AP is 12 is to 5 find the ratio of the 13th to the 4th term

Bharath G's image