Sound Software estimates that it will sell LaTeX: NN units of a program after spending LaTeX: aa thousands of dollars on advertising, where LaTeX: N\left(a\right)=-a^2+300a+6N ( a ) = − a 2 + 300 a + 6 when LaTeX: 0\le a\le3000 ≤ a ≤ 300. What is the maximum number of units that can be sold and how much need to be spent on advertising in order to achieve this sales goal?