We have,
f(x)=ax2+6x−15
Graph of f(x) is shown below as it is increasing in (−∞,43) and decreasing in (43,∞).

Then, abscissa of vertex is 43.
2A−B=43
⇒2a−(6)=43
⇒a=−4
∴g(x)=−4x2−6x+15
Local maxima exists at the vertex of g(x), whose abscissa is
x=2A−B
⇒x=−(−8(−6))=−43