## 5 Conclusions  
In conclusion, the upcoming era of wireless technology holds the potential for a significant and revolutionary influence on V2X communication networks. The pressing issue of scarce spectrum resources, caused by increasing demands for data rates, requires a comprehensive examination of spectrum resource distribution and power regulation. To tackle the intricacy involved in mixed-integer non-linear programming, it is necessary to employ inventive approaches. In order to surmount these obstacles, we utilized a methodical approach, deconstructing the main issue into two separate sub-problems. The resource-allocation difficulty is effectively resolved by implementing a technique for allocating the multiaccess spectrum. This strategy, carefully designed to maximize the utilization of the available spectrum resources, demonstrates a conscious endeavor to improve efficiency. At the same time, the complexities of power regulation are tackled by skillfully applying a technique called continuous convex approximation. This technique transforms difficult non-convex problems into more manageable ones. This two-pronged approach effectively reduces interference between users. The validation process using simulation data clearly and indisputably shows the effectiveness of these approaches in improving vehicle performance. The algorithms presented in this work demonstrate a significant enhancement in system throughput and access rates for VUEs, while simultaneously fulfilling the data rate demands of CUEs. In future works, continuing our research, we recognize the importance of exploring the potential consequences and benefits of cell-free network topologies in the areas of allocating spectrum resources and controlling power for enhancing and optimizing V2X communication systems. The forthcoming studies will involve modifying current algorithms to be compatible with cell-free setups, and thereafter conducting a thorough assessment of their effectiveness in a wide range of different situations. This research provides essential insights and practical answers to the complex field of V2X communication, which will help to develop more reliable and economical connected vehicle systems in the future.  
This article was prepared through the collective efforts of all the authors. Conceptualization, A.M.A.I. and Z.C.; methodology, A.M.A.I; software, A.M.A.I.; validation, A.M.A.I., H.A.E., Y.W. and Z.C.; formal analysis, A.M.A.I. and A.A.I.; investigation, A.M.A.I.; resources, A.M.A.I.; critical review, A.M.A.I., Z.C., H.A.E., Y.W. and A.A.I.; writing--original draft preparation, A.M.A.I.; writing--review and editing, A.M.A.I., Z.C., H.A.E., Y.W. and A.A.I.; supervision, Z.C. All authors have read and agreed to the published version of the manuscript.  
This research was funded in part by \"the Major Special Project of Changsha Science and Technology Plan under Grant kh2103016\" and \"the Intelligent software and hardware system of medical process assistant and its application belong to \"2030 Innovation Megaprojects\"--New Generation Artificial Intelligence under Grant 2020 AAA0109605\".  
Not applicable.  
The data presented in this study are available on request from the corresponding author. The data are not publicly available due to restrictions privacy.  
The authors declare no conflicts of interest.