These aren't particularly bad squats, but if knees are hurting, they have to be fixed. Patellar tendonitis is tough to get rid of once it becomes embedded. You need to learn how to keep your shins more vertical at the bottom of the squat. This requires a more horizontal back angle/hips back on the way down. You can use a box to learn this.