A meter stick casts a shadow 1.4 m long at the same time a flagpole casts a shadow 7.7 m long.  The triangle formed by the meterstick and its shadow is similar to the triangle formed by the flagpole and its shadow.  How tall is the flagpole?