PE = 1/2 . k . x^2 = kg . m^2 / s^2
Forget the 1/2 , it has no units
k = kg . m^2 / s^2 / m^2 = kg / s^2
Therefore, the unit of the spring constant k would be kg / s^2.
I hope my answer has come to your help. Thank you for posting your question here in Brainly.