The two teenagers met online and were dating about a week when they started to run out of money.

“Somebody has got to get it” — meaning some cash — one of them said to the other, according to court records.

So the two 17-year-olds from Maryland walked Wednesday from the Motel 6 in Northeast Washington where they were staying to the Greyhound bus terminal in search of a cabbie to rob, according to charging documents filed in D.C. Superior Court.

Joshua T. Mebane of Waldorf and his girlfriend, Linda Bury of Parkton, in northern Baltimore County, got into Quadar Muhammad’s cab and asked him to take them to Hamilton Junior High School on Brentwood Parkway NE, according to the documents.

Before they left for the school, Mebane, sitting in the back seat with Bury, asked Muhammad how much it would cost. “Six-fifty,” Muhammad replied, the charging documents said.

According to the papers, Mebane asked, “Can you break a 50?” Muhammad said yes.

When Muhammad pulled behind the school, Mebane reached into a black sports bag, pulled out a gun and shot Muhammad once in the back of the head, police said in the charging documents. The car accelerated, lunged over an embankment and crashed into a tree.

It was unclear whether anything was taken from the driver.

On Friday, Mebane and Bury were arrested and charged as adults with first-degree felony murder while armed in Muhammad’s slaying.

About 9 p.m. Wednesday, police received a report of a late-model Lincoln Town Car on fire. When authorities arrived, they found a body, later identified as Muhammad’s, in the driver’s seat.

A day later, according to charging documents, D.C. detectives got a call from Baltimore police about a possible witness. The witness told police that Bury had told two others that she and her boyfriend “killed a cab driver,” the documents said.

Police questioned Bury. After giving several conflicting stories, she told detectives the details of the shooting, according to the court records. Mebane was arrested later.

At a hearing Saturday, Bury and Mebane were ordered held in D.C. jail until their next hearing on Jan. 20 before Judge Thomas J. Motley.