I have learnt how to play the piano seriously in the past.
I was learning how to play the piano seriously in the past.
「以前」→「In the past」
「本格的に」→「Seriously」
「習う」→「To learn」
「習っていた」は過去進行形なので、「Was learning」と表現します。
まとめて言いますと、
「I have learnt how to play the piano seriously in the past.」
「I was learning how to play the piano seriously in the past.」
と表現します。
どちらでも使えます。