Answer:
He didn't follow the pemdas rule (see explanation)
Explanation:
Rayan's mistake is that he didn't follow the pemdas rule, which states that you start with wat is inside parentheses first, then exponents then multiplication and division(from left to right) and then adding and subtracting (from left to right).