# [Python 2], <s>156</s> <s>153</s> <s>147</s> 141 bytes

<!-- language-all: lang-python -->

    x,y=input()
    d="001155777702020202570044557777"
    a=["%03d"%int(bin(int(o))[2:])for o in d[x::10]+d[y::10]]
    for x in a[:3]+["---"]+a[3:]:print x

[Try it online!][TIO-jbkpyity]

[Python 2]: https://docs.python.org/2/
[TIO-jbkpyity]: https://tio.run/##JYzBCoQgGITvPoUIgVLCnxWR4JP866FFlvWiEQb69G5uM4cZ5oM5SvrGoOplXjUPxfhwXIkL4gwDGMdlWW@BerysAPP8bIzsBlkHk2OdD4m/feAtoxCotBWfeNJIfaAOs9Yj2N5h@RdLGsuN7agn2yOTUjLb7zhpq4/zvqG5Vhi2Hw "Python 2 – Try It Online"

-3 with thanks to @NieDzejkob

Takes input as 2 integers and outputs in vertical format with 0=space and 1=dot.