Question: how to do x squared on computer?
Answer:  Type x then Ctrl+Shift+P, type 2, Ctrl+Shift+p again.  type x2, highlight 2, click on "superscript" Button in Sidepanel.  type x2, highlight 2, right-click and select Character ..., under Tab "Position" click Radiobutton "Superscript" and Ok.