Pls help quadratic equations

Answer:
n = 5
Step-by-step explanation:
3 x (n+1)² = n² + (n+2)² + 34
3n² + 6n + 3 = n² + n² + 4n + 4 + 34
n² + 2n - 35 = 0
(n - 5) (n + 7) = 0
n is a positive number
n = 5
check: 5, 6, 7
6 x 6 x3 = 108
(5 x 5) + (7 x 7) + 34 = 25 + 49 + 34 = 108