Hello Vaibhav.
Please look at the links below to get a proper understanding.
& next on how the transposition is done: