Poor little girl. She is so beautiful, and she is lucky to have such a caring owner to look after her. As far as I know the Kanamycin monosulphate is an antibiotic which works against
bacterial infections. Ringworm (not a worm!) is a fungus, not a bacteria, so I'm not sure that the kanamycin would cure that fungus at all! But she looks like she has been very sore - I bet she has been scratching a lot because a fungal infection like ringworm makes them really itchy - and if the skin is broken from her scratching it bacteria can get in and cause infection and make things worse, so that might be why you have been given this medication. Something specific for anti-fungus would be most effective I think - I am not a vet though so cannot give diagnosis, sorry.
It looks like you have a nice round patch of ringworm yourself! What medicine were you given for this? Was it some anti-fungus cream? I think you are right when you say the chances of it being the same cause are high. My son was once scratched by his guinea-pig and got that ring-shaped red infection of ringworm where the nail had broken the skin just a little bit - but he was easily treated with some cream and it did not spread. The piggy that scratched him showed no symptoms at all - no itching, no hair loss or scabs, so he did not get vet treatment. We handled these pigs quite a lot at the time but in our case only my son got the ringworm and only where he was scratched. It can be passed between owner and pig or back again though so a good read of the guides is useful to learn all about this problem. These guides are the most comprehensive information I have ever seen about guinea-pigs!
One last thing - what we always ask people who talk about their piggy is are you going to get a friend as guinea-pigs get very lonely on their own. They might look like a big hamster but while hamsters are naturally solitary, guinea-pigs are the opposite - a group animal - and she would be so happy to have another little girl for company - they are so cute when they play together and try to steal food from each other's mouth!
BUT lets get this ringworm sorted out first as it is contagious and you don't want another little piggy to catch it!
THEN you should check again that she is actually a girl as you would not believe how many people have been sold a 'girl' who is actually a boy... or worse, sold a 'boy' who suddenly produces babies! It is sometimes tricky to tell (again the guides here are great). So once she is clear of her fungus and you are sure she is a 'she' it would make her happy to have another little girl for a friend
Good Luck David and I hope we have been some use for you and mum