Using zencart 1.39h

I need to setup my shipping rate like this.

I have two classes of product:
Product A
Product B

Product A is Free Shipping World Wide.
Product B is Free Shipping within the United States, but 10% of the price everywhere else.

Please instruct how to achieve this.