Let's call the distance from the beach to the playground x.
Let's call the distance from the stand to the parking lot z.
Let's call the base of the biggest triangle in the picture (from the parking lot to the left) y.
Recall the pythagorean theorem: the sum of the squares of the legs of a right triangle is equal to the square of the hypotenuse.
There are three right triangles we can work with.
Triangle with sides 48, x and z. Here z is the hypotenuse so we get the equation
Triangle with sides 27, x and y. Here y is the hypotenuse so we get
Triangle with sides z, y and (48+27). Here (48+27) is the hypotenuse so we get
. That is,
We have 3 equations and 3 unknowns (x, y and z). So let's take the last equation:
and replace
and
using expressions that contain an expression in terms of x from the first two equations we came up with.
That gives us:
which we solve for x as follows:
Now that we know x we can substitute 36 for x into the equation
and solve for z as follows:
This means that the distance from the beach to the parking lot is 36 m and the distance from the stand to the parking lot is 60 m.
He has $90 in total to spend
He spent (31/45) of this money on ticket
so money spent on ticket =(31/45) *90 =2790/45 =62
Now money left with him is 90-62 =28 $
Now it says that he spent (3/7) of this remaining money at concession stand
so money spent on concession stand =(3/7)*28 =84/7 =12
Now money left with him = 28-12 =16
So money left with him is $16 but hat costs for $18
So Mr. O'Connor didnt have enough moeny to buy the hat
They will cost $54
i know this because if youre getting 40% off, you will have to pay 60% of the total cost
so, 90 x .60 = 54
let me know if you have any further questions
:)