Find measures of #/_G# and #/_H# in the following?

enter image source here