If her music lasts 4 minutes, her music is 60*4=240 seconds since there are 60 seconds in a minute. Next, since her dance is 12 seconds less than the music, her dance is 240-12=228 seconds long. To finish this up, we have 228/240. I challenge you to figure out the percentage on your own!
As an example, we have 123/463, which is around 0.266. Multiplying that by 100, we end up with around 26.6 percent as the percent 123 is of 463