the equation would be 8x+x=1791. You add like terms (8x+x)= 9x so it would be 9x=1791.
Then, you divide both sides by 9 to get the x by itself, so now it is x=199. That is the number of dolls Haley has. To get the number of dolls Alyssa has, multiply Haley's dolls by 8, making Alyssa have 1592 dolls.
To get the number of dolls Alyssa has more than Haley, subtract 199 from 1592, you will get 1393. That is your final answer!
Hope this helped!!