take the full amount, then multiply by percentage as a decimal
[potassium]150.22*0.521= 78....
[Carbon]150.22*0.158=23...
[Oxygen]150.22*0.321=48...
Then divide these by their Molar Mass.
78../39.1=2moles
23.../12.0=1.97.. moles
48.../16= 3 moles
so molecular formula is K2C2O3, and therefore empirical is the same, cant be simplified anymore