ePMP 1000 and 2 SM at different subnet

hi

let me explain

we one AP and 2 SM. the AP and SM are diffrent subnet  so toally we have 3 subnet

in AP side we have use 192.168.1.0/24

one SM side we have use 192.68.1.0/25

and second SM side we have use 192.168.1.0/26

and then we have two ISP connection in one AP and one SM (192.168.1.0/25).we have created VPN for two ISP

so we need solution how to configure the above scenario for AP and SMs and then VPN also

please help me