We can use the GEMDAS/PEMDAS rule to evaluate an algebraic expression. This is the order of operations that an expression should be solved. G or P stands for grouping symbols or parentheses. E for exponents, M for multiplication, D for division, A for addition ans S for subtraction.