The school store open on the first day of school with 30 notebooks and 18 pencils. Within two days it sold all of these items. On the first day, twice as many notebooks were sold as pencils. On the second day, for every 3 notebooks sold, 2 pencils were sold.

how many notebooks and how many pencils were sold the first day?

how many notebooks and how many pencils were sold on the second day?

To solve this problem, we can use a system of equations. Let's assign variables to the unknown quantities.

Let's say the number of notebooks sold on the first day is 'n1' and the number of pencils sold on the first day is 'p1'.
Similarly, the number of notebooks sold on the second day is 'n2', and the number of pencils sold on the second day is 'p2'.

Based on the given information, we can create the following equations:

First day: n1 = 2p1
Second day: n2/3 = p2/2

Now, let's solve these equations to find the values of 'n1', 'p1', 'n2', and 'p2'.

From the first equation, we can rewrite it as p1 = n1/2.

Substituting this value into the second equation, we get:
n2/3 = (n1/2)/2
To simplify this equation, we multiply both sides by 2:
2*(n2/3) = n1/2
Multiplying through by 3, we get:
2n2 = (3/2)*n1

Now, we know that the school store sold 30 notebooks in total in two days, so n1 + n2 = 30.

Substituting the value of n1 from the equation above:
2*(n2) = (3/2)*n1
2n2 = (3/2)*(30-n2)

Simplifying this equation:
4n2 = 3*(30-n2)
4n2 = 90 - 3n2
7n2 = 90
n2 = 90/7
n2 ≈ 12.86

Since the number of notebooks sold has to be a whole number, we can round it down to 12.

Now, we can substitute the value of n2 back into the equation n1 + n2 = 30:
n1 + 12 = 30
n1 = 18

Therefore, on the first day, 18 notebooks and 9 pencils were sold (since n1 = 2p1 and p1 = n1/2).
On the second day, 12 notebooks and 8 pencils were sold (since n2/3 = p2/2 and n2 = 12).

So, the answer is:
On the first day, 18 notebooks and 9 pencils were sold.
On the second day, 12 notebooks and 8 pencils were sold.

123

67

10,5

The answer is 15, 9

First Day:

X-pencils sold.
2X-notebooks sold.

Second Day:

2X-pencils sold.
3X-notebooks sold.

First Day:

X + 2X = 18 Pencils
X = 6 Pencils.

2x + 3x = 30 Notebooks
X = 6 Notebooks

First Day:
X = 6 Pencils sold.
2x = 2*6 = 12 Notebooks sold.

Second Day:
2x = 2*6 = 12 Pencils sold.
3x = 3*6 = 18 Notebooks.

math sucks