What is supposed to happen: The gas can and tire are supposed to come down the screen at an angle. There is a variable called side that is set to random number 1 or 2. If side ==1 then gas can is on the right and tire is on the left. If side==2, it is the opposite.
What actually happens: Right now, side 1 is working correctly but side 2 is not.
To problem solve this issue…what is the only difference between function side1 and function side2? In function side2, you are also resetting the x positions of each sprite. Remember, the draw loop will set this exact same x position for as long as the condition is true. So, although velocity x is set for each sprite, the x position keeps moving to the same place each time through the loop. Line 76 and 77 will need to be moved if you want the sprites to move diagonally.