You are right about using pin 5 & 6 as input and 7 as output.
What have you done with pin 1, 2 and 3 (the second op-amp in the chip)?
And yes, the bottom end of the 15k resistor goes to the middle and upper pin of the 10k potentimeter.
Tell us what you are observing and what is not working with the circuit.