The first 5 prime numbers are 2, 3, 5, 7 and 11. Let p be the prime number, so then calculate x = p^2 + 1:
p = 2 => x = 2^2 + 1 = 4 + 1 = 5
p = 3 => x = 3^2 + 1 = 9 + 1 = 10
p = 5 => x = 5^2 + 1 = 25 + 1 = 26 = ? (what the question was)
p = 7 => x = 7^2 + 1 = 49 + 1 = 50
p = 11 => x = 11^2 + 1 = 121 + 1 = 122