Final answer:
The values of a and b are a=7 and b=42.
Step-by-step explanation:
Given that the product of two numbers a and b is 294 and the highest common factor (HCF) of a and b is 7, we can find the values of a and b. To do this, we need to find the prime factorization of 294, which is 2 * 3 * 7 * 7. Since the HCF of a and b is 7, one of the numbers should have 7 as a factor. From the given options, only option a. a=7,b=42 satisfies this condition. Therefore, the values of a and b are a=7 and b=42.