Anapestic - is a "foot" (beat) comprising three syllables - dit dit DAH
"First two UNstressed, the LAST one is STRESSED".
That's anapestic trimeter right there.
But, Pentameter defines that there will be 5(penta) feet (meters) in the line.
dit dit DAH dit dit DAH dit dit DAH dit dit DAH dit dit DAH