The advent of 6G marks a transformative phase in wireless communication, ushering in a hyperconnected experience. This paper explores optimizing sidelink technologies in Vehicle-to-Everything (V2X) communication through integrating 6G capabilities. Emphasizing challenges in sidelink resource allocation, the study introduces mathematical solutions. The survey further investigates the evolution of Cellular-V2X (C-V2X) and sidelink standardization within the 6G V2X Sidelink context, highlighting key features and applications. Additionally, it examines inter-UE coordination, resource re-evaluation, and pre-emption operations in 5G-V2X Sidelink, addressing associated challenges and mathematical formulations. The paper focuses on power-based resource allocation in 5G-V2X, addressing challenges and proposing solutions for the 6G V2X Sidelink landscape. Encompassing direct communication, collision issues, spectrum compliance, resource fairness, uncertainty, and interference management, the survey comprehensively explores challenges and solutions in current sidelink resource allocation. It evaluates traditional and emerging techniques, such as cognitive radio, cooperative communication, power control, dynamic spectrum access, ML-aided allocation, blockchain-enabled allocation, and edge computing-driven allocation. The resource allocation requirements for diverse V2X services in 6G V2X Sidelink are outlined, explicitly focusing on Vehicular to Vehicular (V2V), Vehicular to Infrastructure (V2I), Vehicular to Pedestrian (V2P), and other V2X services, addressing their specific needs.