Problem 1: Create a 1D PyTorch tensor containing the numbers 1 through 5. Multiply the tensor by 2, and then convert the final PyTorch tensor back into a standard NumPy array.

Problem 2: Just like TensorFlow’s GradientTape, PyTorch calculates derivatives for you. Create a tensor for $x = 2.0$ and tell PyTorch to track its gradients. Then, calculate the equation $y = 3x^2 + 2x$, and use PyTorch to find the derivative of $y$ with respect to $x$.(Note: The calculus derivative is $6x + 2$, so if $x=2$, the answer should be $14$).

Problem 3: While PyTorch has a Sequential API, the standard way to build neural networks in PyTorch is using Object-Oriented Python (Classes). Build a simple neural network class with one hidden layer (using a ReLU activation) and an output layer. Then, pass some dummy data through it to get a prediction.