Step 9: Build the Y Function 2