Total questions in the test = 38
Let 2 points questions be = x
Let 3 points questions be = y
As total questions are 38, so

From here, we can derive x as:
...... (i)
As given, few questions are 2 marks each and rest 3 marks each and perfect square is 100, so we get,
.......(ii)
Put the value of y from (i) in (ii)


y=24
Putting y in equation (i), we get

x=14
Hence, 2 points questions are = 14
3 points questions are = 24