Use the Per Unit perweightunit Shipping Module ...

Set the products_weight for the first Product to 4

Set the products_weight for the second Product to 1

Now this will act as a per product per quantity charge on Shipping ...