How to solve second question in this exercise?


#1

https://www.codecademy.com/courses/learn-javascript-introduction/lessons/variables/exercises/mathematical-shortcuts?action=resume_content_item&course_redirect=introduction-to-javascript
please help me I try to solve it but I can’t I am failure


#2

what have you tried? Please copy paste your full code to the forum.

Its pretty similar to the first question