DOCUMENT();

loadMacros('PGstandard.pl', 'PGML.pl', 'parserAssignment.pl', 'PGcourse.pl');

Context()->variables->are(x => 'Real', y => 'Real');
parser::Assignment->Allow;
parser::Assignment->Function('f');

$eqn = Formula('y = 5x + 2');
$fun = Formula('f(x) = 3x^2 + 2x');

BEGIN_PGML
Enter [`[$eqn]`]: [_]{$eqn}{10}

Enter [`[$fun]`]: [_]{$fun}{10}
END_PGML

BEGIN_PGML_SOLUTION
Solution explanation goes here.
END_PGML_SOLUTION

ENDDOCUMENT();