Sit on a leg extension machine with your back against the pad and feet under the padded lever. Extend your knees to lift the weight until your legs are almost straight, then slowly lower back to the starting position. Repeat.
Picture source: https://www.muscleandstrength.com/
Sit on a calf raise machine, the front of your feet on a platform, and heels hanging off. Raise your heels by extending your ankles, pause at the top, then slowly lower back down.
Picture source: https://www.muscleandstrength.com/