Getting error while destructing objects

Tell us what’s happening:
Getting error like: destructuring with reassignment was used

Your code so far
today: 77.5,
tomorrow: 79

function getTempOfTmrw(avgTemperatures) {
“use strict”;
though, i was trying to destruct, not get succeed!
const {x, y} = avgTemperatures;
return (Math.ceil((x+y)/2)); // getting error undefined x;
return Math.ceil(( +avgTemperatures.tomorrow)/2);

console.log(getTempOfTmrw(AVG_TEMPERATURES)); // should be 79

**Your browser information:**

User Agent is: <code>Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:63.0) Gecko/20100101 Firefox/63.0</code>.

**Link to the challenge:**

Re-read instruction again, and try to do it slowly.
If you still have trouble, open text editor and write down what is being asked from you 1 by 1 like this:

  1. To do x
  2. To do y

Once you do, you will realize what was the issue. Right now you are not following instructions of the challenge. Also, you do not need to calculate average temperature, it already is averages for each day.

Other than the challenge not asking that from you, reread description, that is not how you destructure object property while changing the name of the variable