Borrowed from Medieval Latin or Late Latin rectangulum.
Practice speaking and memorizing "rectángulo" and many other words and sentences in Spanish.