In the question equation you have first the multiplication so the whole thing becomes equal to 15.
Now you just have to see what row of the given is equal to 15, too.
3х2^2 +3 = 3х4 + 3 = 12+3= 15
So, you see that the first is equal to the one in your question.