Fairfax County police are investigating whether two shootings this week that left five people injured are related and the result of gang activity.

The first shooting happened Monday around 11 p.m. It was a double shooting at a Gum Springs playground, which left two teens with non-life-threatening injuries, police said. The second shooting occurred around 4 p.m. Tuesday in the parking lot of Midieast Studio, in the 6400 block of Telegraph Road in the Rose Hill section of the county. Police said the occupants of a dark-colored Mitsubishi and a dark-colored Toyota exchanged gunfire, leaving three men in the Toyota with non-life-threatening wounds.

One of the injured men got out of the Toyota before the vehicle left, police said. The Toyota then traveled about two miles to the 2700 block of James Drive in the Huntington section of the county, police said.

Police said the driver then pulled over to call authorities to get help for the injured passengers and remained on the scene until police and emergency crews arrived.

Emilie Voss, a police spokeswoman, said it was unclear whether the shooting was tied to any activity at Midieast Studio, a recording spot for rappers in the Washington area. A call to the studio was not immediatelyreturned.

Voss said police are still investigating what sparked the shooting.

“We don’t believe this to be a random act of violence,” Voss said. “We are doing our best to investigate and get the proper people behind bars.”

Police said they found the Mitsubishi involved in the shooting overnight, but it was abandoned. The Mitsubishi and the Toyota were being processed for evidence, Voss said. She said she was unsure whether any weapons were recovered in the shooting.

Police are investigating whether Tuesday’s shooting is tied to Monday’s.

Both shootings appear tied to gang activity, police said, but Voss declined to name a gang, citing the department’s policy of not giving publicity to gangs involved in crimes. No arrests had been made in either shooting .

Police arrested two men in May for allegedly shooting at the recording studio in February. Voss said detectives are also exploring whether that incident is related to Tuesday’s shooting.

Meanwhile, two men were wounded by gunfire in the Springfield area Wednesday night.

County police responded at about 6 p.m. to the 5200 block of Queensberry Avenue, where they found a man suffering from a gunshot wound to the hand. About two hours later, another man showed up at a hospital with a gunshot wound to the leg. Both injuries were believed to be non-life-threatening, police said.

Investigators were trying to determine if the two incidents were linked, but authorities said they do not believe Wednesday’s shootings were gang-related.

Clarence Williams contributed to this report.