하였던>했던 (past form of 하던)
농구했던 사람 a person who played basketball
했는 is actually not a word, there should be more syllable after -는 for example, 했는지, 했는가. 했는~ has -였- in it so it's also past form of 하는~.
어제 농구를 했는지(했는가) 모르겠어. I don't know if I played basketball yesterday.