Let the dfraction is xy
Then, according to the given question,
x+1y+1=45
⇒5x+5=4y+4
⇒5x−4y+1=0........(1)
Again, according to the given question,
x−1y−1=12
⇒2x−2=y−1
⇒2x=y+1
⇒x=y+12.......(2)
Put the value of x by equation (2) in to (1), we get,
5x−4y+1=0
⇒5(y+12)−4y+1=0
⇒5y+5−8y+2=0
⇒−3y+3=0
⇒y=1
Put y=1 in equation (2) and we get,
x=1+12=1
Hence, fraction is xy=11
This is the answer