Deepak is 10 years old, and his brother is 7 years old. In how many years time will their total age be 41.

Sandy,priscilla&florence shared 540 sweets.sandy took 90 sweets.florence took 3 times as many as the total number of sweets sandy&priscilla took.how many sweets must florence give to priscilla so that both would received the same number of sweets?

Let the number of years be x

10+x + 7+x = 41
2x = 41 - 17
2x = 24
x = 12

It will happen in 12 years.

check:
in 12 years:
Deepak will be 22
his brother will be 19, the sum will be 41

To solve the first question, we need to find how many years it will take for Deepak and his brother's total age to add up to 41 years.

Let's start by finding their current total age:
Deepak's age = 10 years
His brother's age = 7 years

To find the additional years needed, we can use the equation:
(Deepak's age + x) + (Brother's age + x) = 41

Expanding the equation, we get:
10 + x + 7 + x = 41

Combining like terms:
17 + 2x = 41

Subtracting 17 from both sides:
2x = 41 - 17

Simplifying the right side:
2x = 24

Dividing both sides by 2:
x = 12

Therefore, it will take 12 more years for their total age to be 41.

Now let's move on to the second question:

Sandy took 90 sweets.
Florence took 3 times the sum of the sweets taken by Sandy and Priscilla.

Let's assume Priscilla took P sweets.

So, the total number of sweets Priscilla and Sandy took is (90 + P).
And Florence took 3 times this sum: (3 * (90 + P))

The total number of sweets shared is 540, so we can write the equation:
90 + P + 3 * (90 + P) = 540

Let's solve this equation step by step:

First, distribute the 3:
90 + P + 270 + 3P = 540

Combine like terms:
360 + 4P = 540

Subtract 360 from both sides:
4P = 180

Divide both sides by 4:
P = 45

Now, we know Priscilla took 45 sweets.

To find out how many sweets Florence must give to Priscilla so that both will receive the same number of sweets, we need to calculate the difference between the number of sweets Florence has and the number Priscilla has.

Florence took 3 times the sum of Sandy and Priscilla:
Florence took 3 * (90 + 45) = 3 * 135 = 405 sweets.

Difference = Florence's sweets - Priscilla's sweets
Difference = 405 - 45 = 360

Therefore, Florence must give 360 sweets to Priscilla so that both of them would have the same number of sweets.