Here's the answer:
“你们怎么认识的?”
(nǐ-men zěn-me rèn-shi de?)
Watch a real native speaker say it:
Here's how it sounds in a textbook:
Fun fact: the hundreds of thousands of people learning Chinese with Memrise get this phrase correct 86.79% of the time!