Linear actuator and MPU 6050 with Arduino

I want to do a project

I have a platform of 3 linear actuators

I want to send a specific location to the Arduino and the MPU sensor read the actual location and the linear actuators will move till they reach the platform to the desired location

So I’m using MPU6050, 3 linear actuators and a base and moving platform (parallel mechanism)

The MPU-6050 reports acceleration and rates of rotation, not location. You will need to describe the setup in more detail to get suggestions on how to measure "location".

Nice You have no problems, no questions.
Just go ahead.

If u have any advice u can post it pls
I mean like what library should I use

How can I construct the code

It a parallel mechanism so I have to us it

Please post links to the motors/actuators, and to the drivers.
Without knowing Your hardware there's no useful advice to give.

https://m.aliexpress.com/item/33051153509.html?trace=wwwdetail2mobilesitedetail

This is the platform that I’m trying to implement

You will need to describe the setup in more detail to get suggestions on how to measure "location".

First, define "location".

Sorry but digging into projects in order to find facts You should tell is not happening.
Helpers are here to provide help for Your project, not to spend time to create Your question. Most of us have plenty of personal projects we want to work with.

The very first step is to define in detail WHAT you want the platform to do. The second step is to describe in words how you want to use the actuators to accomplish the goal. And the third thing is to flow chart the LOGIC necessary to reach the goal. And finally, you can begin to write the C code for the Arduino to implement the logic.
Paul