Thank you for asking your question on JustAnswer.
Enclosed are complete instructions.
The Camshaft Position Sensor is located at the lower RF front of engine.
When the cam sensor goes bad , in most case its not a knocking noise but a squealing noise. The oil light being on may also indicate low oil pressure. I would check both.