Given Equation is 9[n +2(n-2)]=45

 Dividing both sides by 9, we have n + 2(n-2) = 5

 Or, 3n-4 =5

Or,3n=9

Or, n=3

                                                     ****