24V Derivation

Use a voltage divider to take the 24V (assuming DC) to 12V for your Arduino and divide again for your servo.