There are some things I want to be arranged as seen in the images below Original rectangle:
I want this: (The colors in the corners don't matter.)

\documentclass[a4paper]{article}
\usepackage[margin=1.5cm]{geometry}
\usepackage{tikz}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{tikz}
\usetikzlibrary{positioning,shapes.misc}
\usetikzlibrary{calc,shapes.misc}
\newcommand\around{%
\begin{tikzpicture}[overlay, remember picture]
\draw[line width=2.1pt] {[rounded corners=0] ($(current page.north west)+(1cm,-4cm)$) -- ++(0,2cm) -- ($(current page.north east)+(-1cm,-2cm)$)} -- ++(0,-2cm) -- cycle;
\draw[fill=yellow,line width=2.1pt] {[rounded corners=15] ($(current page.north west)+(1cm,-2cm)$) -- ++(0,1cm) -- ($(current page.north east)+(-15cm,-1cm)$)} -- ++(0,-1cm) -- cycle;
\draw[fill=yellow,line width=2.1pt] {[rounded corners=15] ($(current page.north west)+(+15cm,-2cm)$) -- ++(0,1cm) -- ($(current page.north east)+(-1cm,-1cm)$)} -- ++(0,-1cm) -- cycle;
\draw[fill=yellow,line width=2.1pt] {[rounded corners=0] ($(current page.north west)+(+6.3cm,-2cm)$) -- ++(0,1cm) -- ($(current page.north east)+(-6.3cm,-1cm)$)} -- ++(0,-1cm) -- cycle;
\end{tikzpicture}
\vspace{3cm}
}
\begin{document}
\around
\end{document}