If Will gives Molly $9 dollars he will have the same amount of money as her. If Molly give Will $9, the ratio of money she has to the money will has will be 1:2. How much money does will have in the beginning?

w-9 = m+9

(m-9)/(w+9) = 1/2

since m = w-18,

2(w-18-9) = w+9
2w-54 = w+9
w = 63

To solve this problem, let's use algebra. Let's represent the amount of money that Will has initially with the variable "x".

According to the given information, if Will gives Molly $9, they will have the same amount of money. So after this exchange, Will will have "x - 9" dollars, and Molly will have "x + 9" dollars.

Next, we are told that if Molly gives Will $9, the ratio of money she has to the amount Will has will be 1:2. This means that Molly will have (x + 9) - 9 = x dollars, and Will will have (x - 9) + 9 = x + 9 dollars.

Using this information, we can set up the equation:

x / (x + 9) = 1/2

To solve this equation, we can cross-multiply:

2x = x + 9

Simplifying further:

2x - x = 9

x = 9

Therefore, Will initially has $9.