At first I learned to do these equations as Part÷Whole=Percent÷100
Part(The portion)=300
Whole=X
Percent=5
So now you have
300÷X=5÷100
Set this up as a fraction and cross multiply.
Now you have 30,000=5x
Now divide both sides by 5 and you get x=6,000
6,000 is your answer.