One apple weighs 75 grams and one orange weighs 40 grams. Determine the weight of x apples and y oranges.