Alexander B. answered • 09/10/16

PhD in Engineering with 10 Years of jQuery programming experience

Assuming that Lea has X pencils and Y colored pens, the math problem translates into the following system of linear equations:

X+Y=28

X=Y-8

In canonical form:

X+Y=28

X-Y=-8

X-Y=-8

Adding both equation results in:

2X=20, therefore X=10.

Correspondingly, Y = X+8 = 18

The answer is:

**10 pencils and 18 colored pens.**You may also check the answer by using online system equation solver: http://examn8.com/SystemOfEquations.aspx