how do i find the percent of a component in a mixture given the amount of compound and the amount of mixture c=3g,m=8g please help thank you

c/m*100 = 3/8*100 = 37.5%