Assuming that the given shape is a cuboid,
volume=l×w×h
v=s³ (since cuboids have same length, they have same side length)
62=s³
∛62=s
s=3.957 ≈ 4 units
Hope I helped :)
Observe attached picture.
On picture we have:
A = height of flagpole = x ft
B = length of flagpole's shadow = 24 ft
C = height of sign = 6 ft
D = length of sign's shadow = 3 ft
When we draw a picture representing this problem we can also add another line marked in red. This way we can see that we have two right-angle triangles. We can see that both have same angle marked with α.
We can apply trigonometry rules to find height of flagpole.
From small triangle containing sign we can find tangens function:

Similarly we can do for large triangle containing flagpole:

We see that these two equations have same left sides. This means that their right sides must also be same:

We can solve for A:

Height of flagpole is 48 feet.
Distribute:
(12n-12)5
60n-60 = A(n)
You can't really find what n is I don't think, because you have 2 unknown variables n and A(n).
Just plug in one of the other (doesn't matter which one) so it will look like
-3x+6=5x+38
or
5x+38=-3x+6 (it's the same thing as the first one)
Then you solve for x and you substitute that value so you can get y.
Hope this helped :)