A teacher had 24 red pen.if the ratio of red pens to blue pens she owned was 8:7, how many pens did she have total