Example 4 In an A.P. if mth term is n and the nth term is m