If it's an arithmetic sequence: (d is the common difference)
a3 = 10
a4 = a3 + d = 10 + d
a5 = a4 + d = (10 + d) + d = 10 + 2d
a6 = a5 + d = (10 + 2d) + d = 10 + 3d
a7 = a6 + d = (10 + 3d) + d = 10 + 4d
Since a7 = 26 ---> 26 = 10 + 4d
16 = 4d
4 = d
Since a5 = 10 + 2d ---> a5 = 10 + 2(4) = 10 + 8 = 18