Six boys and six girls sit along a line alternately in $x$ ways and then sit along a circle alternately is $y$ ways. then express a relationship between $x$ and $y$ .
The answer is supposed to be $x=12y$ however I am having trouble understanding it. Here is how i attempted it. Please correct me.
For the linear arrangement , let the six boys first occupy six seats leaving a seat each seat between any two boys vacant. They can be arranged in $6!$ ways. Now there are $7$ seats for the girls so the girls can be arranged in ${{7}\choose{6}}6!$ ways. So the linear arrangement of boys and girls is possible in $(7!)(6!)$ ways. For the circular arrangement, place a boy first and arrange the remaining boys in alternating seats in $5!$ ways. Now , similarly the girls can be arranged in $5!$ ways. Hence the circular arrangement is possible in $(5!)(5!)$ ways. However , according to the solution that I read , the the linear arrangement is possible in $2(6!)^2$ and the circular arrangement is possible in $(5!)(6!)$ways. Can you please explain where I went wrong ? Thank you for your help !