When the action in the main clause is in the past, both the past subjunctive and the past perfect subjuctinve can be used in subordinate.
Ex)
Tu no pensabas que el telescopio....
- 1) costara tanto, verdad?
- 2) hubiera costado, verdad?
Both are pretty much the same thing