Use parens when squaring a negative number in hints. Also make things bigger and legible.

fix #47113

Test plan: Take hints in various problems. Note that only when B<0, the 4th hint uses parens.

Auditors: alpert