Solve Scrapheap's gang problem

Solve Scrapheap's gang problem is a side quest in the Fallout demo.

Quick walkthrough
Upon entry to Scrapheap, the Vault Dweller encounters a citizen named Lex. This man warns the Vault Dweller of the two gangs, and tells him to not trust either one. He asks for help in eliminating both gangs. The Vault Dweller can then choose to help Lex or side with either gang.

Detailed walkthrough
There are four ways to complete this quest:

Side with Lex
The Vault Dweller must eliminate both gangs in order to complete this quest this way. This is not an easy task to do. One could just go in shooting every gang member in sight, or they could do it the easy way. Siding with the Crypts' allows there to be a gang war between the two. The Vault Dweller could just wait until they kill each other off, and eliminate the remaining gangers. This ends the demo with a message saying that the citizens of Scrapheap take over control of the generator and the town, and are forever grateful to the Vault Dweller for dealing with the problem.

Side with the Crypts
The Vault Dweller can go into the largest building and speak to Rayze, the leader of the Crypts. He will tell the Vault Dweller to either leave the town or join the Crypts in eliminating their rivals. This causes a gang war between the two on the left side of town. Eliminating all of the Fools will end the demo with a message saying that the Crypts maintain the generator and continue with ruling over the town.

Side with the Fools
If the Vault Dweller would like a challenge, siding with the Fools is the way to go. Talking to Baka will allow the Vault Dweller to join her in "eliminating" the Crypts. She will tell you to go infiltrate the enemy, but will not actually start a gang war. The Vault Dweller must defeat the entire gang by themselves. Attacking Rayze first and hitting him with a burst shot may kill him in one go if the Vault Dweller can get close enough. Once he has been eliminated, the rest of the gang is not too difficult to kill. With shoddy accuracy, they tend to miss quite a few shots. Make sure that the two guarding the gate, Rock and Skizzer, are also killed as they are part of the Crypts as well. Once finished, the demo will end saying that the Fools take control of the generator and the town.

Destroying the Generator
The final and easiest way to complete this quest is by destroying the generator in the main building. This will end the demo, dooming the town to fall apart after their only source of energy is gone.