The first line reads a byte from the Line Control Register of an UART device, sets the highest bit (the DLAB = Divisor Latch Access Bit), and writes the resulting byte back to the register. When doing so, you can access the Divisior Latch registers. In your second code block this is done by passing the 16-bit value 0x0060 to the Divisor Latch low and high byte registers. This will set the baud rate. After doing so, the DLAB bit should be cleared.
Writing code to perform the other requested tasks will be similar by reading the appropiate registers, setting or clearing bits, and writing the new value back to the register. Because the other registers can be accessed without setting a specific access bit, this can be done using a single line of code.
To know the port adresses (register offsets) and bit masks, read about UART devices (e.g. this page
http://retired.beyondlogic.org/serial/serial.htm#12[
^] which may be better understable than an UART data sheet).