# Khan/khan-exercises

Fix two with combining_like_terms_2:

```Summary:
In the ax_fbx_fd problem type, the variable coefficient could simplify to 0
and require entering "0x+5" instead of just "5", for example. Added a data-ensure
to ensure the coefficient is always non-zero.

Also, the final hint in the eax_ec_fd_fbx problem type left off the constant
term unless it was 0 instead of the other way around.

Test Plan:
Test locally to verify the two problems were fixed in these two seeds:

Reviewers: stephanie, yunfangjuan

Reviewed By: stephanie

1 parent ad118f8 commit 50f2d07b6320c8f87b8e4ff04ae69e27e6df5f3e beneater committed Oct 15, 2012
Showing with 2 additions and 2 deletions.
1. +2 −2 exercises/combining_like_terms_2.html
 @@ -10,7 +10,7 @@
-
+
randFromArray("abkmnpvx") randRangeNonZero(-1, 1) * randRange(1, randRange(1, 12)) randRangeNonZero(-1, 1) * randRange(1, randRange(1, 12)) @@ -326,7 +326,7 @@ \blue{E * C + F * D}

-

The simplified expression is expr(["*", E * A + F * B, X]) +

The simplified expression is expr(["*", E * A + F * B, X])

The simplified expression is expr(["+", ["*", E * A + F * B, X], E * C + F * D])