Reference circuit design for UART on GSM module
The first diagram basically says that you have to connect RXD to TXD in order to have a full-duplex communication. It's just a connectivity diagram.

The second one includes a voltage divider for voltage translation. Let say it's an application circuit.

Both diagrams are coherent.

Just follow the second one and set the voltage divider accordingly with your ICs