Connecting ADXL345 to ESP8266 mini D1 WiFi

I previously connected ADXL345 to Arduino Uno as follows and could read the data with no issue:

5V-->5V
GND-->GND
SDA-->SDA
SCL-->SCL

However, the ESP8266 shown in the photos doesn't have SDA and SCL pins. How could I connect them using other pins as shown in photo?

the esp8266 can do I2C any pair of pins. default for D1 mini is D1 SCL and D2 SDA (io 5 and io 4)

Perfect
Thanks

@Juraj, I get the tilt data from above, do you know how I can get the motion data?

amirf:
@Juraj, I get the tilt data from above, do you know how I can get the motion data?

sorry, I never used this kind of sensor

for anyone who needs, you simply subtract the tilt value and divide by time to get accelerometer. I think the sensor may do this as well but it is simple enough to do yourself.