Let a be the first term and d be the common difference of an AP.
an = a + (n – 1)d
a4 = a + (4 – 1)d = a + 3d
a + 3d = 11 ………(1)
Now, a5 = a + 4d and a7 = a + 6d
Now, a5 + a7
= a + 4d + a + 6d
= 2a + 10d
2a + 10d = 34
a + 5d = 17 ……..(2)
Subtracting (1) from (2), we get
2d = 17 – 11 = 6
d = 3
The common difference = 3