Methamphetamine metabolizes to amphetamine, therefore both can be present after use of methamphetamine.
The street drug "Ecstasy" is MDMA (methylenedioxymethamphetamine). MDMA metabolizes to MDA (methylenedioxyamphetamine), therefore both MDMA and MDA can be present after use of Ecstasy.
The approximate detection time of amphetamines in urine is between 1-3 days after last use.