Answer
The student's mistake was in the settings for $X_\text{min}$ and for $X_\text{max}$.
The max set was lower than the min, and the set min is higher than the max.
One reasonable set of $x$-scale and $y$-scale would be:
$X_{\text{min}}=-45$, $X_{\text{max}}=-5$
$Y_{\text{min}}=-20$, $X_{\text{max}}=35$
Work Step by Step
Recall:
When creating a scatterplot, the following settings must be followed:
$X_{\text{min}}$ should be slightly lower than the lowest $x$-value
$X_{\text{max}}$ should be slightly higher than the highest $x$-value
$Y_{\text{min}}$ should be slightly lower than the lowest $y$-value
$Y_{\text{max}}$ should be slightly higher than the highest $y$-value
The given data has the following characteristics:
lowest $x$ value is $-40$ and maximum is $-10$;
lowest $y$ value is $-15$ and maximum is $30$
The student's mistake was in the settings for $X_\text{min}$ and for $X_\text{max}$.
The max set was lower than the min, and the set min is higher than the max.
One reasonable set of $x$-scale and $y$-scale would be:
$X_{\text{min}}=-45$, $X_{\text{max}}=-5$
$Y_{\text{min}}=-20$, $X_{\text{max}}=35$