If the function \( f(x)=2x^3-9ax^2+12a^2x+1 \), where \( a>0 \), attains its local maximum and local minimum values at \( p \) and \( q \), respectively, such that \( p^2=q \), then \( f(3) \) is equal to:
\( 37 \)
\( 55 \)
\( 23 \)
\( 10 \)