Where are square brackets?

Square brackets are not used in Photomath. You can enter all grouping symbols (parentheses, square brackets, and curly braces) by replacing them with parentheses.