Option 1 In branch SRX you can configure vlan and assign layer-3 interface to vlan to route traffic for the vlan , If a single interface for SRX is connected to layer-2 switch then make it trunk and configure interface with vlan-member with required vlans
set vlan Left-Arm vlan-id 100
set vlan Left-Arm vlan-id l3-interface vlan.100
set vlan Right-Arm vlan-id 200
set vlan Right-Arm vlan-id l3-interface vlan.200
set interfaces vlan unit 100 family inet address 192.168.1.1/24
set interface vlan unit 200 family inet address 192.168.2.1/24
Option 2 . You can configure vlan-tagging on an interface with vlan-id and ip address to a sub interface
set interface vlan-tagging unit 0 vlan-id 100 family inet address 192.168.1.1/24
set interface vlan-tagging unit 1 vlan-id 200 family inet address 192.168.2.1/24