I’m with Karin on this one. You can also have her sit on a table/chair/bench and have her do some leg extensions. She can start doing them without any resistance and then once she starts getting stronger you can add some resistance with a band and then progress by adding an ankle weight and then maybe move to the leg extension machine. Of course a PT could give you some more ideas/recommendations. I hope this helps.