used to do (~したものだ): I used to play basketball in high school. (高校時代にバスケットボールをしていました)

I used to play basketball in high school.