use an algebraic expression for the statement:
double a number subtracted from 24
let the number be x
double the number is 2x
subtract it from 24 and you get
24-2x