Which is RX and TX pin of the HM-10 module?
That's not an HM-10 but an EY-08. It's the same chip, but it's been provided in a different footprint (and maybe with different firmware installed).

Pin P03 is TX and pin P02 is RX.

The AT command set, pinouts, and examples for wiring it are detailed here (Thanks to Mikael Patel for finding that link).