Adjust the Google Earth Engine script below so that it stops giving the following error:
Error generating chart: Computation timed out.
The script:
var ET = ee.ImageCollection("projects/sat-io/open-datasets/BR-DWGD/ET");
var PR = ee.ImageCollection("projects/sat-io/open-datasets/BR-DWGD/PR");
var RH = ee.ImageCollection("projects/sat-io/open-datasets/BR-DWGD/RH");
var RS = ee.ImageCollection("projects/sat-io/open-datasets/BR-DWGD/RS");
var TMAX = ee.ImageCollection("projects/sat-io/open-datasets/BR-DWGD/TMAX");
var TMIN = ee.ImageCollection("projects/sat-io/open-datasets/BR-DWGD/TMIN");
var U2 = ee.ImageCollection("projects/sat-io/open-datasets/BR-DWGD/U2");
var RAIN_GAUGES = ee.FeatureCollection("projects/sat-io/open-datasets/BR-DWGD/RAIN_GAUGES");
var WEATHER_STATIONS = ee.FeatureCollection("projects/sat-io/open-datasets/BR-DWGD/WEATHER_STATIONS");

//print(ET.limit(10), 'ET')//.setMulti()

// Defines the scaling factor

//var offset = 225//Precipitation
//var scale = 0.006866665//Precipitation

var offset = 0//evapotranspiration
var scale = 0.051181102//evapotranspiration

//var offset = 15//maximum temperature
//var scale = 0.001068148//maximum temperature

//var offset = 15//minimum temperature
//var scale = 0.001068148//minimum temperature

//var offset = 0//Relative humidity
//var scale = 0.393700787//Relative humidity

//var offset = 0//Solar radiation
//var scale = 0.157086614//Solar radiation

//var offset = 0//Wind speed
//var scale = 0.059055118//Wind speed

var mascara1 = ee.Image(100).toInt().clip(table1)

var mascara2 = ee.Image(200).toInt().clip(table2)

var mascara3 = ee.Image(300).toInt().clip(geometry3).rename('mask')

var mask = mask1.unmask(mask2).rename('mask')

// Function to apply the scaling factor to a specific band
var scaleBand = function(img) {
 var scaledImage = img.select("b1")
 .rename(['ET'])
 .multiply(scale)
 .add(offset)
 .addBands(mask3);
 return scaledImage.updateMask(scaledImage.select('mask'))
 .set('system:time_start',img.get('system:time_start'))
 //.copyProperties(img, img.propertyNames())
 //.set('date', ee.Number.parse(img.date().format("YYYYMMdd")).toInt())
 .set('anomes', ee.Number.parse(img.date().format("YYYYMM")).toInt())
 //.set('year', ee.Number.parse(img.date().format("YYYY")).toInt())
 //.addBands(ee.Image.constant(ee.Number.parse(img.date().format("YYYYMMdd"))).toInt().rename('Date'))
 .addBands(ee.Image.constant(ee.Number.parse(img.date().format("YYYYMM"))).toInt().rename('Months'))
 //.addBands(ee.Image.constant(ee.Number.parse(img.date().format("YYYY"))).toInt().rename('Years'));
};
var ET1 = ET
.filterDate('2015-01-01','2024-12-31')
.map(scaleBand);

var mesanos = ee.List(ET1.distinct('anomes').aggregate_array('anomes'))//.slice(0,4)

//print(lista8586)

var monthlymosaic = ee.ImageCollection.fromImages(
 mesanos.map(function(y) {
 var z = ET1.map(function(image) {
 var greenest2 = image.select('ET').updateMask(image.select('Months')
 .eq(ee.Image.constant(y)));

 return greenest2.set('system:time_start', image.get('system:time_start'));
 });

 var z2 = z.mean()
 .set('anomes', y)
 .set('system:time_start', z.first().get('system:time_start'))

 return z2;
 })
);

print(mosaicommensal.limit(10), 'ET')

var color_pal = ['000066', '001199', '0044BB', '0077DD', '33AAEE', '66CCFF', 'FFDDCC', 'FFBB99', 'FF9966', 'FF6644']
var vis = {
 //min:20,max:40,palette:color_pal};
 min:1,max:6,palette:color_pal};

Map.addLayer(mosaicommensal.select('ET').mean(),vis,'mosaic')


// Define the chart and print it to the console.
varchart =
 ui.Chart.image
 .series({
 imageCollection: mosaicomensal.select('ET'),
 region: geometry3,
 reducer: ee.Reducer.mean(),
 scale: 500,
 xProperty: 'system:time_start'
 })
 .setSeriesNames(['ET'])
 .setOptions({
 title: 'Average Vegetation Index Value by Date for Forest',
 hAxis: {title: 'Date', titleTextStyle: {italic: false, bold: true}},
 vAxis: {
 title: 'Vegetation index (x1e4)',
 titleTextStyle: {italic: false, bold: true}
 },
 lineWidth: 5,
 colors: ['e37d05', '1d6b99'],
 curveType: 'function'
 });
print(chart);