You're welcome!
This is kind of what I mean about how there's a missing step here, where you either (a) instantly realise what's going to be needed here, or (b) mess around with what you *do* know, until you recognise how to use that information to solve things.
It helps, perhaps, to verbalise what's been given.
"OK, so I know that the sequence is wn^2 + bn, but I don't know w and b, so that's to say I don't know TWO things. I do know n, though, it's 3 or 5 or 6. And I am told what the answer is for n=3 or n=6, so that means that I know TWO answers. Oh, hang on, TWO things I don't know, and TWO pieces of info involving them -- that's simultaneous equations!!"
I'm emphasising the "two" a lot here, because that's the "in" to look for. You're looking to match the number of things you don't know with as many pieces of info again -- and, at GCSE level at least, you'll only ever be asked to solve two equations in two unknowns (it's not like solving three/three or more is harder per se, it's just more tedious, and easier to go wrong, and just never comes up).