Use "how I responned to" rather than "the way in which I responded to".
aligns; aligned; align·ing
1: to arrange things so that they form a line or are in proper position [+ obj] ▪ The storekeeper carefully aligned [=lined up] the cans on the shelf.▪ He aligned the two holes so he could put the screw through them.▪ The text is aligned [=in line] with the bottom of the picture.▪ The two parts of the machine are not properly aligned. [no obj] ▪ The two parts of the machine don't align [=line up] properly.▪ The text aligns with the bottom of the picture.
2 [+ obj] : to change (something) so that it agrees with or matches something else
▪ The schools had to align their programs with state requirements.
▪ The schools had to align their programs with state requirements.
3: to join a group that is supporting or opposing something [+ obj] ▪ He has aligned himself with the protesters. [=he has joined the protesters] [no obj] ▪ She is aligning with other senators to oppose his nomination.