Answer:
Both the students were correct.
Explanation:
Given : The polynomial is -

To find : Who correctly grouped the terms to factor.
Lucas group the polynomial -

Now, we solve the Lucas polynomial



Erick group the polynomial -

Now, we solve the Erick polynomial

The factors of Lucas and Erick are same.
Each grouping leads to the same result.
Therefore, Both students are correct.