the number of boys is ten less than double the number of girls, if the total number of students is 38 how many boys and girls are in the class

numer of girls ---- x

number of boys --- 2x - 10

solve x + 2x-10 = 38