Donavon and three friends go to a fair. They each spend 1/2 of their money on rides. ​ Then, they each spend​ $3 on food. At the end of the​ day, Donavon and his friends have a total of​ $8 remaining. How much money did each person bring to the​ fair? Complete the work to find the value of x.

(Type integers or​ fractions as the answer.) like top to down