Margaret will take the crutches. They're structural metal, and that's a nice thing to have. She'll take the brown contacts, if it will make her parents feel better. She'll also start making plans, because clearly nobody else is going to.
Over the next days and weeks and months, a series of schematics comes together in her desk, and a collection of parts starts to form under her bed. She raids the scrap pile outside her dad's garage and the loading dock behind the school for as much metal and as many components as she can get.
As her design comes together, it gets more ambitious. What started out as a way to make her stronger, let her energy stretch farther, becomes a hope of saving her life. It's a gamble out of science fiction, but she can see how it can be made to work. The scientific principles are sound, it's just a matter of implementation. And of keeping herself together long enough to pull it off.
Her school has a robotics club; she was in it, freshman year, the last time she had long-term ambitions and the ability to act on them. Now she has both of those again, and they still keep their parts in the same place. They won't miss a few circuit boards and motors out of last year's project. And the local electronics store, of course, doesn't care what she wants these screws and electrodes for. She's falling behind in her classes for the first time in her life, but while her parents bite their nails they don't suspect anything other than the obvious reason.
The last step, the point of no return, is when she cannibalizes her laptop. The processor isn't the fastest and the hard drive could stand to have a lot more space, but she's done the math and they'll handle what she needs them to. Namely, herself.
A fully-functioning robot stands next to Margaret's bed. The limbs are thin, not much stronger than her fading muscles, and the head is just a box with cameras and microphones and a little speaker. But it's stable and sturdy and it isn't dying.
She arranges the elecrodes on her head and flips the switch. Her biological body collapses, its brain scrambled, and her camera-eyes open. A metallic voice says, "Eureka."