Good start to part (a) and well done on acknowledging that you had to use part a to get your answer to part b!
A method you could have used is trial and error through putting in different 'n' values until you get an answer that is 253. It works out that when you put 'n' in as 10 it produces 253 as 11 and 23 are its two prime factors.
Alternatively, the way I knew straight away that 11 was a factor of 253 is because of the 2 outer numbers, 2 and 3, add to make the inner number, 5. Numbers that have this are always divisible by 11.
Hence I looked out how one of the brackets could be equivalent to 11 and saw when n=10 it would produce 253 hence, the answer would be 11 x 23.
The trial and error method would probably be the best method I can think for the majority for this question as a safe bet.
Hope this helped.