The financial statements
When i look at the statements i see that inventories and next fixed assets both are considerably higher for H than G. This implies that H is company 1 who has much more inventories in their stores than the on-line site who can control their inventory better.
When we look at long term debt, we notice that G has a very high debt which could derive from an aggressive strategy of acquisitions of companies. This shows that G probably is company 2.
When i examine the ratios i see that fixed assets turnover is considerably higher for G than for H which would be consistent with an on-line based company without fixed assets.