Of course, there are DC AC points, but the small motor is generally DC, if it is a pure analog control circuit, with DC chopper, if it is a single-chip microcomputer control with PWM is more convenient, the driver can use the motor drive chip, you can also use the transistor to build a bridge drive.
If it is not just two lines, then it must be a stepper motor, with multi-channel PWM control, which requires coordination on the timing, more complex, but more accurate control.