How is TXID calculated?

Hello!
Could anyone explain how sha256d for transactions is calculated?

For example this block Litecoin (LTC) Block: #2433782

getrawtransaction ab26a2f76579a4504305d80407cdd705611cf5f9f4d1ab4be1b78ab082eb440c
prints the second transaction
01000000013b1cd74cd93f4b81574185ec88c20fd86c8fb45187218ec3ecdffc32e798d4ad010000006a47304402202559e7c98b7bbc643c7860a65ee331d98e2ab057a94174b4d910aa7c379c4d5b02204920f6253a9c906dc4b4b485454e008d49158f85e3ee6d92b9a1deca0fbad6dd012102feda1b8edda76480147c3a60faa7d7af4917fe609f95be1d090891ef98b2bcc4ffffffff02dcd073010000000017a9142215392fe43dc2eb4b67c0a8af87ba5f7b2b17a7871a3dc84a000000001976a914d3c1ecbb956f10c748a6ddee2a6ce501259a384e88ac00000000
which hash 0c44eb82b08ab7e14babd1f4f9f51c6105d7cd0704d8054350a47965f7a226ab in reverse order is equivalent to TXID in explorer (I use Hash Function) .

But
getrawtransaction 6d3de1c4cdfb8290cc0fa05fff6a11420b92b14550e50a18df3659a8db77eb36
prints the first transaction
010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff3f03f6222504640596672cfabe6d6d681b42f3e2252948a2ac1f9c32e47c74b67900cb5ce452b14367652c9e404ad8010000000000000008150005006f090000ffffffff039028dc4900000000160014da3ee56c048a2a2722a468b21031e9e59d9d2bacd2fdbe0000000000160014f967d36dd4e42773be2cb3d8f183e10e940557730000000000000000266a24aa21a9ed1807169fa252cdb7cade8f4862014bb96fef04d214691a38995950b278b4ec5e0120000000000000000000000000000000000000000000000000000000000000000000000000
which hash 1d42c25981d93a92e8d4fb3b4e361fa6328bd1442db746202495a3aef949316b is not TXID.

Is there a detailed description of LTC’s MWEB (like this one: Transaction Data)?