Thank you for your question.
For the weakness you feel in your legs and persistent back pain
I would recommend getting an MRI
of your lower back sooner rather than later. Low back is more likely to be the cause because neck problems usually present late in 50s and 60s. Also clinical examination by a neurologist
or spine surgeon
can help to distinguish between neck and low back problems.
Please let me know if I can be of further assistance.