“How to Train Your Dragon” posted a strong second weekend, earning $37 million and bringing its 10-day total to $160.4 million.