The value of x and y is
and

Explanation:
Let x denote the sodas.
Let y denote the bags of popcorn.
Given: Kaelyn bought a soda and two bags of popcorn for $3. Writing this as equation,

Her brother bought three sodas in a bag of popcorn for $6.50. Writing this as equation,

Using substitution method, let us find the value of x from the equation
by subtracting 2y from both sides of the equation, we get,

Now, substituting the value of x in
, we get,

Subtracting 9 from both sides of the equation, we get,

Now, substituting the value of
in
, we get

Thus, the value of x and y is
and
