The man , Dwayne Palmer , 32 , was formally charged in State Supreme Court in Brooklyn with second-degree murder and attempted murder in an attack on his companion , Natasha Martin , and their daughter , Samara Palmer , in Ms. Martin 's apartment in Canarsie early on June 19 , during the night after Father 's Day .