What should I do if the undergraduate thesis is not completed within the specified time?
This needs to be communicated with your instructor. His authority is still relatively large. Whether you can communicate well is a matter of your ability. According to the feedback from many of my customers, this is for reference only, but according to the customer's feedback, it can generally be accommodating, or a few days later. Good luck. Remember to adopt