How to fix script errors in Player Controller?

Here’s my script:

using UnityEngine;
using System.Collections;
  
public class FirstPersonController : MonoBehaviour
{
    public float movementSpeed = 5.0f;
    
    void Update ()
    {
        float forwardSpeed = Input.GetAxis("Vertical") = movementSpeed;
        float sideSpeed = Input.GetAxis("Horizontal") = movementSpeed;	
        Vector3 speed = new Vector3( sideSpeed, 0, forwardSpeed	);	
        CharacterController cc = GetComponent<CharacterController>();	
        cc.SimpleMove( speed );
    }
}

Errors:

Assets/Scripts/FirstPersonController.cs(16,36): error CS0131: The left-hand side of an assignment must be a variable, a property or an indexer

Assets/Scripts/FirstPersonController.cs(17,33): error CS0131: The left-hand side of an assignment must be a variable, a property or an indexer

So, Could you help me with that ?

The two lines in error are:

float forwardSpeed = Input.GetAxis("Vertical") = movementSpeed;
float sideSpeed = Input.GetAxis("Horizontal") = movementSpeed;

These should be:

float forwardSpeed = Input.GetAxis("Vertical") * movementSpeed;
float sideSpeed = Input.GetAxis("Horizontal") * movementSpeed;

When debugging its helpful to double click on the error in the Unity3D log and it should normally take you directly to the line that is the problem.

using UnityEngine;

public class PlayerController : MonoBehaviour
{
    public float moveSpeed = 5f;
    public float rotationSpeed = 180f;
    public GameObject bulletPrefab;
    public Transform firePoint;

    private Rigidbody2D rb;

    void Start()
    {
        rb = GetComponent<Rigidbody2D>();
    }

    void Update()
    {
        // Player movement
        float moveInputX = Input.GetAxisRaw("Horizontal");
        float moveInputY = Input.GetAxisRaw("Vertical");
        Vector2 moveDirection = new Vector2(moveInputX, moveInputY).normalized;
        rb.velocity = moveDirection * moveSpeed;

        // Player rotation
        Vector2 mousePosition = Camera.main.ScreenToWorldPoint(Input.mousePosition);
        Vector2 direction = (mousePosition - rb.position).normalized;
        float angle = Mathf.Atan2(direction.y, direction.x) * Mathf.Rad2Deg - 90f;
        rb.rotation = angle;

        // Shooting
        if (Input.GetButtonDown("Fire1"))
        {
            Shoot();
        }
    }

    void Shoot()
    {
        Instantiate(bulletPrefab, firePoint.position, firePoint.rotation);
        // Add shooting logic here
    }
}