A Team of Moronic Mercenaries

 is an unmarked quest in Fallout: New Vegas.

Quick walkthrough

 * 1) Visit Primm 3 days after it has been cleared
 * 2) Dispatch the mercenaries.
 * 3) Attack them.
 * 4) Pay 100 caps (or 50 depending on the players funds).
 * 5) Convince the mercenaries to leave with a Speech skill of 30.
 * 6) Convince them to leave by choosing these dialogue options (no skill checks):
 * 7) Are you deserters?
 * 8) I guess I can understand that.
 * 9) Why not just turn yourselves in?
 * 10) I imagine the NCR doesn't deal with deserters kindly.
 * 11) It would be safer to run and find someplace to hide.

Detailed walkthrough
In the player's travels, they will inevitably come across the town of Primm. Primm has recently been overtaken by convicts that escaped from the New California Republic Correctional Facility, but who have split off from the main group. When the player enters Primm, it is likely that they will meet NCR troopers who were ordered to retake the town but who do not have the manpower or firepower to do so. These troopers are led by Lieutenant Hayes who resides in a tent near many other NCR troopers. If the player decides to enter Primm, they may step on frag mines on the small overpass leading into the town. The convicts are hostile to the player and will attack upon sight. They are predominately equipped with mercenary outfits and 9mm pistols or melee weapons. The player learns that the residents of Primm have holed themselves up in the Vikki and Vance casino, located opposite the Bison Steve, over which the convicts control.

When the player enters the Bison Steve they must kill approximately 7 enemies, including a convict leader, who is equipped with an incinerator. Once these enemies have been dispatched the player should enter the kitchen area where Deputy Beagle is held. The player must then free Deputy Beagle, which begins the quest 'My Kind Of Town'. This quest ends when the player has restored power through pardoning Sheriff Meyers, reinforcing the NCR, or programming Primm Slim to be the new sheriff. It should be noted that none of these choices please Deputy Beagle, who is rather sour towards the player afterwards.

Once the player has completed the quest, they must then travel to a destination other than Primm, e.g. Goodsprings. Once arrived the player must wait 3-7 days, and then return to Primm. On arrival in Primm, visit the Vikki and Vance casino, where after roughly 10 seconds the player will be approached by Layla and her band of NCR deserters, who heard Primm was ripe for the picking. After passing a speech check, the deserters will leave, or (if the player does not have a high enough speech level) 100 caps is also acceptable (50 if the player does not have enough). However, the player can also kill Layla (and the rest of the deserters) and consequently loot their bodies. After this event, the player should return to Goodsprings, wait another 3-7 days, and then return again to Primm and the Vikki and Vance casino. Once inside, the casino now operates normally and the cashier can be approached.