creating function

i am using an arduino uno and i am creating a simple multiplying project by creating new function but it shows error when i try to upload so can you pls help me with what am i doing wrong. i have attached the screenshot of my code below.

Please post the actual code here as described in Read this before posting a programming question

in C/C++, you can’t define functions within a function

void loop (void) {
    myREsult (a, b);

int (myResult (int x, int y) {

copy your code from the IDE editor, click the code tags icon, “</>” and paste your code between the tags, “``”

Even easier, select all of the code in the IDE. right click and select "Copy for Forum" then paste what was copied here and the code tags will be added for you