WeBWorK Problems

Calling substitute with negative value gives incorrect value