465,358 views
28 votes
28 votes
Samson has some Lego blocks. If he build 6 houses, he will be short of 120 tiles. If he builds 2 houses and 5 roads, he will be left with 10 tiles. If each road costs 30 tiles to build, how many Lego blocks does Samson have?

User Zameer Khan
by
3.1k points

1 Answer

18 votes
18 votes

Let the number of blocks used for building a house be x, the number for a road be y, and the total number of blocks be z.

If he builds 6 houses, he will be short 120 tiles. This means that:


\begin{gathered} 6x=z+120 \\ z=6x-120\text{ ------------------\lparen1\rparen} \end{gathered}

If he builds 2 houses and 5 roads, he will have 10 tiles left. This means that:


2x+5y=z-10\text{ ---------------------\lparen2\rparen}

If each road takes 30 tiles to build, this means that:


y=30

Therefore, we have from equation (2):


\begin{gathered} 2x+5(30)=z-10 \\ 2x+150=z-10 \\ \therefore \\ 2x=z-10-150 \\ 2x=z-160\text{ --------------------\lparen3\rparen} \end{gathered}

Putting the value of z from equation (1) into (3), we have:


\begin{gathered} 2x=6x-120-160 \\ 2x-6x=-120-160 \\ -4x=-280 \\ \therefore \\ x=(-280)/(-4) \\ x=70 \end{gathered}

Hence, the value of z can be calculated to be:


\begin{gathered} z=6(70)-120 \\ z=420-120 \\ z=300 \end{gathered}

Therefore, he has 300 Lego blocks.

User Jpkotta
by
2.9k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.