n(n + 1) + 3 = 45

Someone answers this brainiest is involed​