Please Help me!! It's for testing!

Jude is going from his house to the library. He walks as a rate of 100 yards per minute and bikes as a rate of 300 yards per minute. On his way to the library, Jude walks for 12 minutes and then rides his bike the rest of the way. The library is 6000 yards from his house.

How many minutes did it take Jude to go from his house to the library?

22 Minutes
28 Minutes
30 Minutes
48 Minutes