Expand the following expression: 3(8x^2 - 5x + 1)
$3(8x^2-5x+1)=8x^2(3)-5x(3)+1(3)=\boxed{24x^2-15x+3}$