Aiming down sights script (Help)

Hi, I’m somewhat new to unity and need help with a script that I made.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AimDownSights : MonoBehaviour
{
public Vector3 aimDownSights;
public Vector3 hipFire;
float aimspeed = 40;
// Start is called before the first frame update

// Update is called once per frame
void Update()
{
    if (Input.GetButtonDown("Fire2")) 
{
    transform.localPosition = Vector3.Slerp(transform.localPosition, aimDownSights, aimspeed * Time.deltaTime);
}
   if(Input.GetButtonUp("Fire2"));}
{
    transform.localPosition = hipFire; 
}

The script gives me a few error messages here they are. Invalid token ‘=’ in class, struct, or interface member declaration.

Invalid token ‘{’ in class, struct, or interface member declaration.

Invalid token ‘;’ in class, struct, or interface member declaration.

@shaneslilsock you opened the curley brackets wrong at the second if statement and added the ; there on the wrong spot aswell