Given that n is a positive integer and x ^ 2n = 5, find the value of 3 (x ^ n) ^ 2 + 2 (x ^ 3n) ^ 2 + 35

Given that n is a positive integer and x ^ 2n = 5, find the value of 3 (x ^ n) ^ 2 + 2 (x ^ 3n) ^ 2 + 35

3(x^n)^2+2(x^3n)^2+35
=3(x^2n)+2(x^2n)^3+35
=3*5+2*5^3+35
=15+250+35
=300